How to do the rotation of graphics? General steps for drawing

How to do the rotation of graphics? General steps for drawing

1. (point) find the corresponding point after rotation
2. To connect adjacent points
3. (Figure) draws the rotated figure
If you don't understand, please ask