## Presentation Device Driver Reference for OS/2

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

### GreCombineShortLineRegion Parameter - pScanData

pScanData (PSCANDATA) - input Pointer to a SCANDATA structure:

pslFirstLeft Pointer to the left end of the first polyshortline
pslLastLeft Pointer the left end of the last polyshortline
pslFirstRight Pointer to right edge of first polyshortline
pslLastRight Pointer to right edge of last polyshortline
c Number of scan lines
rclBound RECTL structure defining the bounding rectangle
slh SHORTLINEHEADER structure:
ulStyle Line style
ulFormat Line format
ptlStart (x, y) position of start
ptlStop (x, y) position of end
lxLeft Left edge of bounding rectangle
lxRight Right edge of bounding rectangle
pslhNext Pointer to next shortline
pslhPrev Pointer to previous shortline

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 Array of X values, as device coordinates.