solidpie

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

void solidpie(
	int left,
	int top,
	int right,
	int bottom,
	double stangle,
	double endangle
);

Parameters

left

The upper-left-hand x-coordinate of the outer-cut rectangle of the oval where the fan is located.

top

The upper-left-hand y-coordinate of the outer-cut rectangle of the oval where the fan is located.

right

The lower-right x-coordinate of the outer-cut rectangle of the oval where the fan is located.

bottom

The lower-right y-coordinate of the outer-cut rectangle of the oval where the fan is located.

stangle

The radian of the starting angle of the fan.

endangle

The radian of the end angle of the fan.

Return Value

None

Remarks

The function draws a filled sector without a border using the current fill style.

Examples

None

(贡献者:Krissi  编辑