Name
GrOffsetRegion -- Move a region
Synopsis
void GrOffsetRegion (
GR_REGION_ID region,
GR_SIZE dx,
GR_SIZE dy
);
Parameters
- region
The region you want to move.
- dx
The number of pixels to move the region in the
direction parallel to the
x-axis.
- dy
The number of pixels to move the region in the
direction parallel to the
y-axis.
Description
The GrOffsetRegion function moves the
specified region. If the region starts at ( x, y ), then after
using the GrOffsetRegion function, the
top left corner of the region will reside at ( x +
dx, y + dy ).