Static methods

staticgetScaledTransformation(width:Int, height:Int, destinationWidth:Int, destinationHeight:Int, rotation:ScreenRotation):FastMatrix3

staticscale(source:Image, destination:Canvas, rotation:ScreenRotation):Void

statictargetRect(width:Int, height:Int, destinationWidth:Int, destinationHeight:Int, rotation:ScreenRotation):TargetRectangle

statictransformX(x:Int, y:Int, source:Image, destination:Canvas, rotation:ScreenRotation):Int

Transform the X value from the given position in the source to a position in the destination canvas.

Parameters:

x

The X position.

y

The Y position.

source

The source image.

destination

The destination canvas.

rotation

The screen rotation.

statictransformXDirectly(x:Int, y:Int, sourceWidth:Int, sourceHeight:Int, destinationWidth:Int, destinationHeight:Int, rotation:ScreenRotation):Int

statictransformY(x:Int, y:Int, source:Image, destination:Canvas, rotation:ScreenRotation):Int

Transform the Y value from the given position in the source to a position in the destination canvas.

Parameters:

x

The X position.

y

The Y position.

source

The source image.

destination

The destination canvas.

rotation

The screen rotation.

statictransformYDirectly(x:Int, y:Int, sourceWidth:Int, sourceHeight:Int, destinationWidth:Int, destinationHeight:Int, rotation:ScreenRotation):Int