mojo.graphics.Canvas.Scale - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.Scale
monkey:monkey.types.Float,sy:monkey:monkey.types.Float )
Method Scale:Void( sx:std:std.geom.Vec2f )
Method Scale:Void( sv:Scales the drawing matrix.
Scales the drawing matrix. This has the effect of scaling all drawing coordinates by sx
and sy
.
Parameters | |
---|---|
sx |
sx X scale factor. |
sy |
sy Y scale factor. |
sv |
sv X/Y scale factor. |