Adjust the size of the rectangle
void drm_rect_adjust_size(struct drm_rect * r, int dw, int dh);
r
rectangle to be adjusted
dw
horizontal adjustment
dh
vertical adjustment
Change the size of rectangle r by dw in the horizontal direction, and by dh in the vertical direction, while keeping the center of r stationary.
Positive dw and dh increase the size, negative values decrease it.
Jesse Barnes <[email protected]>
Intel Corporation,
Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
Contributions all over the place