## Presentation Device Driver Reference for OS/2

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

### GreStrokePath

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support:

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

Description

GreStrokePath converts a path to the envelope of a wide line.

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. The only valid value is 1. */

    ULONG    flOptions;  /*  Reserved. Must be 0. */

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

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

    LONG     rc;         /*  Return codes. */

    rc = GreStrokePath(hdc, idPath, flOptions,

           pInstance, lFunction);