clearpie

This function is used to clear a sector region.

void clearpie(
	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 x-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 uses the background color to clear the sector region.

Examples

None

(贡献者:Krissi  编辑