## Presentation Device Driver Reference for OS/2

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

### GreCreateRectRegion Parameter - paRegion

paRegion (PRECT) - input Pointer to the region definition.

This is a pointer to an array of rectangle structures, which defines the region. Each rectangle is described by a RECTL structure:

xLeft Minimum x-coordinate of rectangle
yBottom Minimum y-coordinate
xRight Maximum x-coordinate of rectangle
yTop Maximum y-coordinate

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.