Simulation support:

None. This function is mandatory for all drivers.

Description:

GrePolyScanline fills an area lying between polyshortline pairs by using the current pattern attribute.

This function must be supported by all presentation drivers except those that hook the GreDrawRLE, GreEndArea, and GreFillPath functions. All function calls to GrePolyScanline come from the GreDrawRLE, GreEndArea, or GreFillPath handling routines in the graphics engine. GrePolyScanline is not called by any specific function. However, it is likely to be accessed by any area-filling functions.

#define INCL_GRE_SCANS
#include <os2.h>

HDC          hdc;        /*  Device context handle. */
PSCANDATA    pScanData;  /*  Pointer to a SCANDATA structure. */
PVOID        pInstance;  /*  Pointer to instance data. */
ULONG        lFunction;  /*  High-order WORD=flags; low-order WORD=NGrePolyScanline. */
LONG         rc;         /*  Return Code. */

rc = GrePolyScanline(hdc, pScanData, pInstance,
       lFunction);


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