## Presentation Device Driver Reference for OS/2

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

### GreModifyPath

Select an item:

    Syntax
    Parameters
    Returns
    Glossary

Simulation support:

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

Description

GreModifyPath modifies a path. When the transform is singular, GreModifyPath is invalid and causes an error to be logged.

This function can be hooked by the presentation driver.

    #define INCL_GRE_PATHS

    #include <os2.h>

    HDC      hdc;        /*  Device context handle. */

    LONG     idPath;     /*  Path ID. */

    LONG     cmdMode;    /*  Modify mode. */

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

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

    BOOL     fSuccess;   /*  Return codes. */

    fSuccess = GreModifyPath(hdc, idPath, cmdMode,

                 pInstance, lFunction);