pie

This function is used to draw a sector without filling.

void pie(
	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

Examples

None

(贡献者:Krissi  编辑