arc

This function is used to draw an arc.

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

Parameters

left

The upper-left y-coordinate of the outer-cut rectangle of the arc.

top

The upper-left y-coordinate of the outer-cut rectangle of the arc.

right

The lower-right x-coordinate of the outer-cut rectangle of the arc.

bottom

The lower-right y-coordinate of the outer-cut rectangle of the arc.

stangle

The radian of the starting angle of the arc.

endangle

The radian of the arc termination angle.

Return Value

None

Examples

None

(贡献者:Krissi  编辑