主页 / 库函数目录 / 图形绘制 / pie
功能:
画无边框的填充饼形。填充颜色由 setfillcolor() 指定。
声明:
void pie(
int x,
int y,
int stangle,
int endangle,
int xRadius,
int yRadius,
PIMAGE pimg = NULL
);
void pief(
float x,
float y,
float stangle,
float endangle,
float xRadius,
float yRadius,
PIMAGE pimg = NULL
);
参数:
x
饼形的圆心 x 坐标。
y
饼形的圆心 y 坐标。
stangle
饼形的起始角的角度。
endangle
饼形的终止角的角度。
xRadius
饼形的水平半径。
yRadius
饼形的垂直半径。
pimg
绘制的目标图像,默认为 NULL(即绘制到窗口)
返回值:
(无)
示例:
(无)