## Presentation Device Driver Reference for OS/2

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

### GreSetArcParameters

Select an item:

    Syntax
    Parameters
    Returns
    Glossary

Simulation support:

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

Description

GreSetArcParameters sets the arc parameters.

This function can be hooked by the presentation driver.

    #define INCL_GRE_ARCS

    #include <os2.h>

    HDC           hdc;        /*  Device context handle. */

    PARCPARAMS    pArcParms;  /*  Pointer to an array containing the arc parameters.
    ARCPARAMS   structure :   * /

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

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

    BOOL            fSuccess ;     / *    Return   codes .   * /

    fSuccess   =   GreSetArcParameters ( hdc ,   pArcParms ,

                   pInstance ,   lFunction ) ;