drm_rect_downscale
Prev | Rectangle Utilities Reference | Next

## Name

drm_rect_downscale — downscale a rectangle

## Synopsis

`void drm_rect_downscale (` | struct drm_rect * r,
| int horz,
| int vert`)`;

## Arguments

`r`

  rectangle to be downscaled

`horz`

  horizontal downscale factor

`vert`

  vertical downscale factor

## Description

Divide the coordinates of rectangle `r` by `horz` and `vert`.

Prev | Up | Next
drm_rect_translate | Home | drm_rect_width