## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreDrawLinesInPath Parameter - pLine

pLine (PCURVE) - input Pointer to the first of a series of linked structures.

A pointer to the first structure in the path definition containing the lines that have to be drawn. The LINE structure, shown below, is an example of the more general CURVE structure. These two structures and the FILLETSHARP structure are defined in the header file. They all take the same general form and are distinguished by the value of bType.

The LINE structure is defined as:

bIdent Identifier. This value has no significance for the presentation driver.

bType Structure type. The only significant value is LINE_IDENTIFIER, which indicates that this structure is a LINE structure. If any other value is detected, the handling routine should skip to the structure addressed by npcvNext.

ulStyle Line style. See Line Attributes.

fl Flags. The only flag is:

CURVE_DO_FIRST_PEL When set, the handling routine must draw the first pel in the line. See also First and Last Pel Considerations.

pcvNext Pointer to next structure in the sequence.

pcvPrev Pointer to previous structure.

Reserved1[2] Reserved parameter.

ptfxA Start of the already clipped line (inclusive).

ptfxC End of the already clipped line (inclusive).

ptlA Start point of unclipped line (inclusive).

ptlC End point of unclipped line (inclusive).

lRslope Ignored by the presentation driver.

Reserved2[4] Reserved parameter.