Possible Duplicate:
Calculate Bounding box coordinates from a rotated rectangle, Picture inside
How do i calculate a bounding box of a rotated rectangle ?
I have X,Y ( top left ) , width, height, and rotation in degrees and i need to fast calculate minX,minY,maxX,maxY of that rectangle. What is the fastest way to do this?