handleimage?

BlitzMax Forums/BlitzMax Beginners Area/handleimage?

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)?

Try SetImageHandle or MidHandleImage

how the <bleep> did i miss that? i am silly ;)