DrawImageRect Pivot

Monkey Forums/Monkey Programming/DrawImageRect Pivot

Wagenheimer(Posted 2011) [#1]
I'm using the DrawImageRect( image:Image, x#, y#, srcX, srcY, srcWidth, srcHeight, rotation#, scaleX#, scaleY#, frame=0 )

Is it possible to set the offset handle of the selected rect? If I rotate it, it rotate using (0,0) as offset handle.


BigAnd(Posted 2011) [#2]
The image.SetHandle(x,y) should do you.

Its in the docs under mojo.graphics/image.