WORD Output(
LPPDEVICE lpDestDev,
WORD wStyle,
WORD wCount,
LPPOINT lpPoints,
LPPPEN lpPPen,
LPPBRUSH lpPBrush,
LPDRAWMODE lpDrawMode,
LPRECT lpClipRect
);
Draws and fills a rectangle that have rounded corners.
1 | Function was successful. |
0 | Unrecoverable error occurred. |
-1 | Function does not support the specified style. |
GDI calls this function when an application calls the RoundRect function (GDI.28).
The graphics driver must support the OS_ROUNDRECT style if the CC_ROUNDRECT value is set in the dpCurves member of the GDIINFO structure.
The Output function fills the interior of the rectangle first, then draw the border. Before filling and drawing, Output must subtract one from the bottom and right coordinates. GDI requires that rectangles are draw so that the border lies one pixel within the specified right and bottom edges.
PDEVICE, PBITMAP, DRAWMODE, RECT, POINT