drm_rect_translate
Prev | Rectangle Utilities Reference | Next

## 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.

Prev | Up | Next
drm_rect_adjust_size | Home | drm_rect_downscale