Skip to content

Mojo graphics canvas scale

mojo:mojo.graphics.Canvas.Scale

Method Scale:Void( sx:Float,sy:Float )#
Method Scale:Void( sv:std.geom.Vec2f )#

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.