fillellipse
This function is used to draw a filled ellipse with a border.
void fillellipse(
int left,
int top,
int right,
int bottom
);
Parameters
left
The upper-left corner x coordinate of the ellipse outer cut rectangle.
top
The upper-left corner y coordinate of the ellipse outer cut rectangle.
right
The lower-right x coordinate s/he of the ellipse outer cut rectangle.
bottom
The lower-right y coordinate s/he of the ellipse outer cut rectangle.
Return Value
None
Remarks
This function draws a filled ellipse with a border using the current line and fill style.
Because of the coordinates of the screen pixel stakes are integers, the ellipse described by the center of the circle and radius cannot handle even-diameter cases. The parameters of this function can solve this problem by using the outer-cut rectangle to describe the ellipse.
When the outer cut rectangle is square, you can draw a fill circle.
Examples
None