The rendering context of the canvas, viewport, and scissor box.
Resizes a context's canvas' drawing buffer to match its physical size, the context's viewport and scissor box to match the given size, and enables the scissor test.
Whether the drawing buffer was resized.
The rendering context of the canvas, viewport, and scissor box.
The horizontal offset of the viewport and scissor box.
The vertical offset of the viewport and scissor box.
The horizontal size of the viewport and scissor box.
The vertical size of the viewport and scissor box.
Generated using TypeDoc
Resizes a canvas' drawing buffer to match its physical size, a viewport to match the drawing buffer, and disables the scissor test.
Returns
Whether the drawing buffer was resized.