## Presentation Device Driver Reference for OS/2

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

### GreOutlinePath - Syntax

Simulation support:

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

Description

GreOutlinePath draws the boundary of the path indicated by idPath. GreOutlinePath is also used to draw area boundaries.

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. It must be 1. */

    ULONG    flOptions;  /*  Outline path flags. */

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

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

    LONG     rc;         /*  Return codes. */

    rc = GreOutlinePath(hdc, idPath, flOptions,

           pInstance, lFunction);