WORD Output(LPPDEVICE lpDestDev, WORD wStyle, WORD wCount, LPPOINT lpPoints, LPPPEN lpPPen, LPPBRUSH lpPBrush, LPDRAWMODE lpDrawMode, LPRECT lpClipRect);
Draws a set of Bezier curves.
1 | Function was successful. |
0 | Unrecoverable error occurred. |
-1 | Function does not support the specified style. |
lpDestDev
Address of a PDEVICE or PBITMAP structure that specifies the destination device or bitmap.
wStyle
Must be OS_POLYBEZIER.
wCount
Must be at least 4.
lpPoints
Specifies endpoints and control points.
lpPPen
Address of a PPEN structure that specifies the physical pen that is used to draw lines.
lpPBrush
Must be NULL.
lpDrawMode
Address of a DRAWMODE structure that contains information that is used 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 the lpClipRect parameter is NULL, the clipping rectangle is the entire display surface.
Every graphics driver (for Windows version 2.0 and later) must support the OS_POLYBEZIER style.
Because Output does not use a physical brush to draw the lines, the lpPBrush parameter is usually NULL.