SDLine
Appearance
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
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);