|
-
May 30th, 2006, 02:02 PM
#1
Thread Starter
Fanatic Member
Rotation by 90 Degree Increments
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!
-
May 30th, 2006, 02:38 PM
#2
Re: Rotation by 90 Degree Increments
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)
-
May 30th, 2006, 02:41 PM
#3
Thread Starter
Fanatic Member
Re: Rotation by 90 Degree Increments
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.
-
May 30th, 2006, 02:48 PM
#4
Re: Rotation by 90 Degree Increments
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|