insight program how to rotate an object
How to Rotate an Object. This topic describes how to rotate an object about a specified point. To rotate an object, call Matrix3x2F::Rotation method. This method takes two parameters, the specified angle and the center point. The angle is a clockwise rotation angle in degrees, and the center point is the point about which the object rotates. The center point is expressed in the coordinate system of the object that is transformed. For example, the following code rotates a square clockwise 45 degrees about the center of the square.