Rotation - Center Axis!

BlitzPlus Forums/BlitzPlus Programming/Rotation - Center Axis!

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

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

OK.. I thought it would be complicated just because rotation is involved. But i guess the middle is always the middle. Thanx!

Nope - that is precisely what the midhandle command is for. Blitz is full of great stuff to make life easy.