## Presentation Device Driver Reference for OS/2

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

### GrePolyFillet

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support:

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

Description

GrePolyFillet draws a fillet on a series of connected lines with the first line starting at the current (X,Y) position. Upon completion, the current ( X,Y) position is set to the last point in the series.

This function can be hooked by the presentation driver.

    #define INCL_GRE_ARCS

    #include <os2.h>

    HDC        hdc;         /*  Device context handle. */

    PPOINTL    paptlPoint;  /*  Pointer to coordinates array. */

    LONG       cPoints;     /*  Number of coordinate pairs. */

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

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

    LONG       rc;          /*  Return codes. */

    rc = GrePolyFillet(hdc, paptlPoint, cPoints,

           pInstance, lFunction);