Simulation support:

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

Description

GreBeginPath identifies the start of a sequence of figures that define a path. Note that functions that set character attributes are not allowed within a path definition. When GreBoxxxx or GreFullArcxxx functions are used within a path definition, they generate closed figures and must not be used within another figure definition. Refer to function "GpiBeginPath" in the Presentation Manager Programming Reference for further information.

This function can be hooked by the presentation driver.

#define INCL_GRE_PATHS
#include <os2.h>

HDC      hdc;        /*  Device context handle. */
LONG     idPath;     /*  Path identifier. This value must be 1. */
PVOID    pInstance;  /*  Pointer to instance data. */
ULONG    lFunction;  /*  High-order WORD=flags; low order WORD=NGreBeginPath. */
BOOL     fSuccess;   /*  This function returns BOOLEAN (fSuccess). */

fSuccess = GreBeginPath(hdc, idPath, pInstance,
             lFunction);


[Back: GreBeginPath]
[Next: GreBeginPath Parameter - hdc]