## Presentation Device Driver Reference for OS/2

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

### GreOffsetClipRegion

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support:

This function is simulated by a handling routine in the graphics engine.

Description

GreOffsetClipRegion moves the clipping region by the specified amount.

This function is supported by the graphics engine and can be hooked by the presentation driver.

    #define INCL_GRE_CLIP

    #include <os2.h>

    HDC        hdc;        /*  Device context handle. */

    PPOINTL    pdpt;       /*  Pointer to offset. */

    PVOID      pInstance;  /*  Pointer to instance data. */

    ULONG      lFunction;  /*  High-order WORD=flags; low-order WORD=NGreOffsetClipRegion. */

    LONG       rc;         /*  Return codes. */

    rc = GreOffsetClipRegion(hdc, pdpt, pInstance,

           lFunction);