Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GrePartialArc draws a straight line from the current position to the starting point of a partial arc and draws the specified partial arc.
This function can be hooked by the presentation driver.
#define INCL_GRE_ARCS #include <os2.h> HDC hdc; /* Device context handle. */ PPOINTL pptlCenter; /* Pointer to (X,Y) coordinates for center of arc. */ FIXED fxMultiplier; /* Multiplier. */ FIXED fxStart; /* Start angle. */ FIXED fxSweep; /* Sweep angle. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGrePartialArc. */ LONG rc; /* Return codes. */ rc = GrePartialArc(hdc, pptlCenter, fxMultiplier, fxStart, fxSweep, pInstance, lFunction);