mojo.graphics.Canvas.Viewport - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.Viewport
std:std.geom.Recti
Property Viewport:The current viewport.
The viewport describes the rect within the render target that rendering occurs in.
All rendering is relative to the top-left of the viewport, and is clipped to the intersection of the viewport and scissor rects.
This property must not be modified if the canvas is in lighting mode.