mojo.graphics.Canvas.Scale - nitrologic/monkey2 GitHub Wiki

mojo::mojo.graphics.mojo.graphics.Canvas.Scale

Method Scale:Void( sx:monkey:monkey.types.Float,sy:monkey:monkey.types.Float )
Method Scale:Void( sv:std: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.