solidellipse

This function is used to draw a filled ellipse without a border.

void solidellipse(
	int left,
	int top,
	int right,
	int bottom
);

Parameters

left

The upper-left corner x coordinates of the elliptical outer cut rectangle.

top

The upper-left corner y coordinates of the elliptical outer cut rectangle.

right

The lower-right corner x coordinates of the elliptical outer cut rectangle.

bottom

The lower-right corner y coordinates of the elliptical outer cut rectangle.

Return Value

None

Remarks

This function draws a filled ellipse without a border using the current fill style.

Because screen pixel coordinates are integers, ellipses described in circles and radii cannot handle situations with even diameters. The parameters of this function use an outer-cut rectangle to describe the ellipse, which can solve the problem.

You can draw a circle when the outer cut rectangle is square.

Examples

None