## Presentation Device Driver Reference for OS/2

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

### GreFullArcBoundary - Syntax

Simulation support:

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

Description

GreFullArcBoundary draws a line by using the current line attributes around the edge of a full arc centered on the current (X,Y) position. The dimensions of the arc are defined as a multiplier that is applied to the current arc parameters. GreFullArcxxx functions do not affect the current position.

When correlating, the handling routine must return a hit when the pick aperture intersects the boundary. See Mix Modes.

This function can be hooked by the presentation driver.

    #define INCL_GRE_ARCS

    #include <os2.h>

    HDC      hdc;           /*  Device context handle. */

    FIXED    fxMultiplier;  /*  Multiplier. */

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

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

    LONG     rc;            /*  Return codes. */

    rc = GreFullArcBoundary(hdc, fxMultiplier,

           pInstance, lFunction);