Output(OS_POLYPOLYGON)


WORD Output(LPPDEVICE lpDestDev, WORD wStyle, WORD wCount, 
    LPPOINT lpPoints, LPPPEN lpPPen, LPPBRUSH lpPBrush, 
    LPDRAWMODE lpDrawMode, LPRECT lpClipRect);

Draws a series of polygons. Use the OR operator to combine this style with either OS_ALTPOLYGON to specify alternate mode or OS_WINDPOLYGON to specify winding mode.

lpDestDev

Address of a PDEVICE or PBITMAP structure that specifies the destination device or bitmap.

wStyle

Must be OS_POLYPOLYGON.

wCount

The number of polygons described by the OSPOLYPOLY structure pointed to by the lpPoints parameter.

lpPoints

Address of an OSPOLYPOLY structure that contains the number of points in each polygon and a pointer to the list of points.

lpPPen

Address of a PPEN structure that specifies the physical pen that is used to draw scan lines.

lpPBrush

Address of a PBRUSH structure that specifies the physical brush that is used to draw the scan lines.

lpDrawMode

Address of a DRAWMODE structure that contains information to use when drawing, such as binary-raster operation, background mode, and foreground and background color.

lpClipRect

Address of a RECT structure that contains coordinates for the clipping rectangle. If this parameter is NULL, the clipping rectangle is the entire display surface.

Output draws a scan line from the starting point up to, but not including, the ending point. The function draws all lines with the brush pointed to by lpPBrush, or by the pen pointed to by lpPPen if lpPBrush is NULL. If Output uses the pen to draw the scan lines, it should not dither the pen color.

See also DRAWMODE, OSPOLYPOLY, Output(OS_ALTPOLYGON), Output(OS_WINDPOLYGON), PBITMAP, PDEVICE, POINT, RECT