title: Calculate Bounding box coordinates from a rotated rectangle
body: <p>I have the coordinates of the top left point of a rectangle as well as its width, height and rotation from 0 to 180 and -0 to -180.</p>
  
  <p>I am trying to get the bounding coordinates of the actual box around the rectangle.</p>
  
  <p>What is a simple way of calculating the coordinates of the bounding box </p>
  
  <ul>
  <li>Min y, max y, min x, max x?</li>
  </ul>
  
  <p>The A point is not always on the min y bound, it can be anywhere.</p>
  
  <p>I can use matrix the transform toolkit in as3 if needed.</p>