Rotation - Center Axis!

BlitzPlus Forums/BlitzPlus Programming/Rotation - Center Axis!

WillKoh2(Posted 2003) [#1]
The Blitz RotateImage command always puts the axis of rotation at the upper left corner. Has anyone (or could anyone) write a function that does the same thing but let's the programmer pass cordinates designating the axis (or just centering it)?


Ross C(Posted 2003) [#2]
Hey, this is the command i beleive you are looking for

HandleImage image,x,y

Just stick in the x and y co-ords relative to the image and that will place the handle.

Or just use

MidHandle image


Puts the handle of the image in the middle :D


WillKoh2(Posted 2003) [#3]
OK.. I thought it would be complicated just because rotation is involved. But i guess the middle is always the middle. Thanx!


dynaman(Posted 2003) [#4]
Nope - that is precisely what the midhandle command is for. Blitz is full of great stuff to make life easy.