Jump to content

SDLine

From EDM2
Revision as of 02:45, 26 March 2020 by Ak120 (talk | contribs) (Parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SDLine is a preclipped line rendering routine. It processes line operations onto a destination linear address. SDLine is the default when OS2_PM_DRV_ENABLE: QueryDeviceSurface does not hook the pfnLine function directly.

Syntax

SDLine(pInput, pOutput)

Parameters

pInput (PLINEINFO) - input
Pointer to LINEINFO data structure.
pOutput (PVOID) - input
Reserved.

Returns

rc (ULONG) - returns
Return codes.

Valid values are:

RC_SUCCESS
RC_ERROR

Remarks

Simulation support: This function is simulated by a handling routine in Revision 2.X of the graphics engine.

Example Code

#include <os2.h>

PLINEINFO    pInput;   /* Pointer to LINEINFO data structure. */
PVOID        pOutput;  /* Reserved. */
ULONG        rc;       /* Return codes. */

rc = SDLine(pInput, pOutput);