Name
drm_rect_rotate — 
     Rotate the rectangle
 
Synopsis
| void drm_rect_rotate ( | struct drm_rect * r, | 
|  | int width, | 
|  | int height, | 
|  | unsigned int rotation ); | 
 
Arguments
- r
- 
     rectangle to be rotated
     
- width
- 
     Width of the coordinate space
     
- height
- 
     Height of the coordinate space
     
- rotation
- 
     Transformation to be applied
     
Description
   Apply rotation to the coordinates of rectangle r.
   
   width and height combined with rotation define
   the location of the new origin.
   
   width correcsponds to the horizontal and height
   to the vertical axis of the untransformed coordinate
   space.