I need to know how to calculate new x,y coordinates based on 90 degree increments. I have the 180 degree flip, but can't seem to get the 90 degree and 270 degree rotations. Does anyone have a formula? Thanks!
Printable View
I need to know how to calculate new x,y coordinates based on 90 degree increments. I have the 180 degree flip, but can't seem to get the 90 degree and 270 degree rotations. Does anyone have a formula? Thanks!
Not clear what you need to rotate so in case it's some image then try sample below:
RotatePicture - Rotate a 256-color bitmap by any angle (super-optimized version)
Thanks, but what I have is an image with an annotation on it. I need to rotate the annotation (shape) with the image. The image rotation is built in, but i need to redraw the annotation (shape) in the correct postion after the rotation.
If it's a shape control then you might not be able to but you may re-print text:
Print Text At Any Angle
Rotate Fonts