Name

drm_rect_translate — translate the rectangle

Synopsis

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

Arguments

r

rectangle to be tranlated

dx

horizontal translation

dy

vertical translation

Description

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