Updates the transformation directly. Using transformBy
is preferred.
should map from canvas coordinates to screen coordinates.
Returns a Command that transforms the view such that [rect] is visible, and perhaps centered in the viewport. Returns null if no transformation is necessary
Static
getReturns the size of a grid cell (in canvas units) as used by snapToGrid.
Static
roundRounds the given point
to a multiple of 10 such that it is within tolerance
of
its original location. This is useful for preparing data for base-10 conversion.
Static
roundStatic
transforma command that transforms the canvas by transform
.
Get the screen's visible region transformed into canvas space.