主页->库函数目录->绘制图形相关函数->sector
功能:
这个函数用于画填充椭圆扇形。
声明:
void sector(
int x,
int y,
int stangle,
int endangle,
int xradius,
int yradius,
PIMAGE pimg = NULL
);
void sectorf(
float x,
float y,
float stangle,
float endangle,
float xradius,
float yradius,
PIMAGE pimg = NULL
);
参数:
x
椭圆扇形的圆心 x 坐标。
y
椭圆扇形的圆心 y 坐标。
stangle
椭圆扇形的起始角的角度。
endangle
椭圆扇形的终止角的角度。
xradius
椭圆扇形的 x 轴半径。
yradius
椭圆扇形的 y 轴半径。
返回值:
(无)
示例:
(无)