Just bought BlitzMax...

BlitzMax Forums/BlitzMax Beginners Area/Just bought BlitzMax...

SetRotation, drawimage, SetRotation?

Function DrawImageRot(image:TImage, x:Float, y:Float, rot:Float, Frame:Int=0)
	Local OldRot:Int = GetRotation()
	SetRotation(rot)
	DrawImage(image, x, y, Frame)
	SetRotation(OldRot)
End Function