Find every point of rotated about one rectangle point

50 Views Asked by At

I need some formulas to find every point of rectangle, which has been rotated about one of his points. I have access to:

  • location of point about which the rectangle was rotated
  • width and height of the rectangle
  • rotation angle

This is an image which describes my problem (sorry for my afwul drawing): link

The formulas I need must be useful for any rotation angle.