GpiOffsetRegion moves a region, by a specified offset, from its current position (in world space). This function must be called with the address of a POINTL structure that contains an x and a y translation factor. The following figure shows how to offset a region.
} /* fncREGN04 */
POINTL ptlNewPos; /* Structure for offset value */
ptlNewPos.x = 200; /* Sets x offset */
ptlNewPos.y = 10; /* Sets y offset */
GpiOffsetRegion(hps, hrgn, &ptlNewPos); /* Offsets region */