## Presentation Device Driver Reference for OS/2

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

### GreFullArcBoth

Select an item:

    Syntax
    Parameters
    Returns
    Glossary

Simulation support:

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

Description

GreFullArcBoth draws and fills a full arc centered on the current (X,Y) position. The current line attributes apply to the boundary line, and the current pattern attributes apply to the interior. The dimensions of the arc are defined as a multiplier that is applied to the current arc parameters. GreFullArcBoth does not affect the current position. When the COM_PATH or the COM_AREA flag is set, this function must raise an error.

When correlating, the handling routine must return a hit when the pick aperture intersects the boundary, or is completely within the interior, even when the mix is LEAVEALONE. 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=NGreFullArcBoth. */

    LONG     rc;            /*  Return codes. */

    rc = GreFullArcBoth(hdc, fxMultiplier, pInstance,

           lFunction);