Moving a Region

To move a region, call GpiOffsetRegion. This function accepts, as input, the region handle and an offset value that is added to every coordinate point of the region.

GpiOffsetRegion moves a region by a specific number of device coordinates. By specifying positive or negative x- and y-values an application can move a region in any direction, relative to its current position.


[Back: Creating Regions]
[Next: Determining Region Characteristics]