Simulation support:
None. This function is mandatory for all drivers.
Description:
GreDisjointLines draws a sequence of disjoint straight lines using the end-point pairs specified. If COM_TRANSFORM is not set, the pairs are expected in screen coordinates.
This function is supported by the graphics engine and can be hooked by the presentation driver.
#define INCL_GRE_LINES
#include <os2.h>
HDC hdc; /* Device context handle. */
PPOINTL paptlPoint; /* Pointer to an array of cPoints (X,Y) pairs. */
LONG cPoints; /* Number of (X,Y) pairs in the points array. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction;
LONG rc; /* Return Codes. */
GreDisjointLines(hdc, paptlPoint, cPoints,
pInstance, lFunction, rc);