fillpie

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

void fillpie(
	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 y coordinate sits in the upper-left corner 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 y coordinate sits in the lower-right corner 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

This function draws a filled sector with a border using the current line and fill style.

Examples

None

(贡献者:Krissi  编辑