09-06-2005 04:26 AM
09-06-2005 10:37 AM
The angle of rotation is about the center of the rectangle. I think the angle is already degrees. If you calculate the center of the rectangle and subtract it from the corners, you have the coordinates to be rotated. The easiest way I have found to rotate coordinates is to convert them to a complex number, multiply the complex number by the angle IN RADIANS, then convert back to x, y. Add the center of the rectangle back to the rotated coordinates and you are done.
Bruce
09-06-2005 10:59 AM
09-06-2005 11:54 AM