Simulation support:

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

Description

GreDrawRLE draws a run-length-encoded shape. If the call is passed back to the graphics engine, it calls the GrePolyScanline entry point.

This function can be hooked by the presentation driver.

#define INCL_GRE_LINE
#include <os2.h>

HDC        hdc;        /*  Device context handle. */
PRLEHDR    pRLEHDR;    /*  Pointer to run-length-encoding data header. */
PVOID      pInstance;  /*  Pointer to instance data. */
ULONG      lFunction;  /*  High-order WORD=flags; low-order WORD=NGreDrawRLE. */
ULONG      rc;         /*  Return codes. */

rc = GreDrawRLE(hdc, pRLEHDR, pInstance, lFunction);


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