## Presentation Device Driver Reference for OS/2

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

### GrePolyShortLine Parameter - psl

psl (PSHORTLINE) - input Pointer to SHORTLINE structure.

The shortlines are defined in a list of linked SHORTLINE structures:

slh SHORTLINEHEADER structure:

ulStyle Line style.
ulFormat Line format.
ptlStart (X,Y) position of start (the start position is included in the line).
ptlStop (X,Y) position of end (the end position is not included in the line ).
lxLeft Left edge of bounding rectangle.
lxRight Right edge of bounding rectangle.
pslhNext Pointer to next shortline.
pslhPrev Pointer to previous shortline.

The boundaries of the rectangle are inclusive at the start points of the lines, and exclusive at the stop points regardless of the direction.

This structure is a discrete representation of a curve that starts at point (x0,y0) and ends at point (x1,y1). For each of the (y1-y0+1) rows, there is exactly one X value contained in the X array. The final point in the series is not drawn.

ax Steps. This is an array of X-coordinates in absolute values. There is one coordinate value for each shortline.