handleimage?

BlitzMax Forums/BlitzMax Beginners Area/handleimage?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

is it possible in bmax to rotate images around another point than their upper left corner or center point? i have tried to use sethandle, but it only seems to affect shapes but not images...
Graphics(640,480,0)
Local img:timage = LoadImage("test.png")
Local rot

While Not KeyHit(key_escape)
	Cls()
	
	SetHandle(MouseX(), MouseY())
	SetRotation(rot)
	
	DrawImage(img, 320,240) ' just rotates around its corner
	DrawRect(320,240,200,50) ' rotates correctly
	
	rot :+ 1
		
	Flip()
	FlushMem()
Wend


am i doing something wrong or is it just impossible in bmax (which would be strange)?