Syntax:
RetVal% = BCX_ELLIPSE(hWnd, _
Left%, _
Top%, _
Right%, _
Bottom% _
[, Pen] _
[,Fill] _
[, DrawHDC])
Parameters:
- hWnd Identifies the window where drawing takes
place.
- Left X-coordinate of the upper-left corner of a bounding
rectangle.
- Top Y-coordinate of the upper-left corner of a bounding
rectangle.
- Right X-coordinate of the lower-right corner of a
bounding rectangle.
- Bottom Y-coordinate of the lower-right corner of a
bounding rectangle.
- Pen [OPTIONAL] a COLORREF integer specifying an RGB color. The default
is 0 which is a black pen.
- Fill [OPTIONAL] integer 0 or 1.
The default is zero which will not fill the ellipse. A value of 1
will fill the ellipse with the color defined in the Pen
parameter.
- DrawHDC [OPTIONAL] HDC (Handle to Device Context) pointing to an already
open HDC. This is useful if a device
context is to be written to many times. In this case the programmer
is responsible for closing the HDC at the
appropriate time
Return Value:
- RetVal% is a nonzero integer if the function succeeds,
zero if the function fails.
|