主页->库函数目录->绘制图形相关函数->arc
功能:
这个函数用于画圆弧。边线颜色由setcolor函数决定
声明:
void arc(
int x,
int y,
int stangle,
int endangle,
int radius,
PIMAGE pimg = NULL
);
void arcf(
float x,
float y,
float stangle,
float endangle,
float radius,
PIMAGE pimg = NULL
);
参数:
x
圆弧的圆心 x 坐标。
y
圆弧的圆心 y 坐标。
stangle
圆弧的起始角的角度。
endangle
圆弧的终止角的角度。
radius
圆弧的半径。
返回值:
(无)
示例:
(无)