0
$\begingroup$

I'm sorry if my question in not for here and because it's so stupid. I have a function, which draws a rectangle - it takes 4 parameters - width and lenght and 2 for positioning it. However, this is not so important. What I want to do, is to rotate it. Can you please tell e what to do with the coordinates of the rectangle to rotate it for example with 45 degrees?

  • 1
    what is the center of the rotation ?2012-11-11
  • 0
    The center of the figure2012-11-11
  • 0
    The center of the rectangle, you mean?2012-11-11

1 Answers 1