WORD Output(
LPPDEVICE lpDestDev,
WORD wStyle,
WORD wCount,
LPPOINT lpPoints,
LPPPEN lpPPen,
LPPBRUSH lpPBrush,
LPDRAWMODE lpDrawMode,
LPRECT lpClipRect
);
Draws an ellipse.
1 | Function was successful. |
0 | Unrecoverable error occurred. |
-1 | Function does not support the specified style. |
Index | Description |
---|---|
0 | Upper-left corner of the bounding rectangle. |
1 | Lower-right corner of the bounding rectangle. |
Because the resulting figure is closed, Output fills the figure and draws the border. GDI calls this function when an application calls the Ellipse function (GDI.24).
A graphics driver must support this style if the CC_ELLIPSES value is set in the dpCurves member of the GDIINFO structure.
Output draws the ellipse by first filling the interior then drawing the border. The center of the ellipse is at the center of the bounding rectangle; the semi-major and semi-minor axes of the ellipse are equal to half the width and height of the rectangle.
PDEVICE, PBITMAP, DRAWMODE, RECT, POINT