drm_rect_translate(9)

drm_rect_translate9

Translate the rectangle

Usage

void drm_rect_translate(struct drm_rect * r, int dx, int dy);

Arguments

r

rectangle to be tranlated

dx

horizontal translation

dy

vertical translation

Overview

Move rectangle r by dx in the horizontal direction, and by dy in the vertical direction.

Authors

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.