C and rotation of rectangle

Ubha's Avatar, Join Date: Dec 2006
Light Poster
Dear all,

I want to rotate rectangle in C. How do i start for this?

thankx,
ubha
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Define an origin and a point of rotation. Move each constituent of the rectangle through the appropriate angle using trigonometry. Plot the result.