Jump to content

SDLine: Difference between revisions

From EDM2
Created page with "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..."
(No difference)

Revision as of 17:39, 29 August 2017

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

Related Functions

  • [[]]