## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreSetRectRegion Parameter - parcRgn

parcRgn (PRECTL) - input Pointer to region definition.

The region is defined as an array of rectangles. Each rectangle in the array is defined by a RECTL structure:

xLeft Minimum X-coordinate of rectangle
yBottom Minimum Y-coordinate
xRight Maximum X-coordinate of rectangle
yTop Maximum Y-coordinate

The region is defined by the OR of all the rectangles. For each rectangle, xRight must be equal to or greater than xLeft. yTop must be equal to or greater than yBottom. The bottom and left boundaries of each rectangle are part of the interior of the region, the top and right boundaries are not. If COM_TRANSFORM is not set, the function expects rectangles to be in device coordinates.