16,472
社区成员
发帖
与我相关
我的任务
分享
//函数原型
BOOL AngleArc(
HDC hdc, // handle to device context
int X, // x-coordinate of circle's center
int Y, // y-coordinate of circle's center
DWORD dwRadius, // circle's radius
FLOAT eStartAngle, // arc's start angle
FLOAT eSweepAngle // arc's sweep angle
);
//具体使用
AngleArc(hdc,20,20,15,pi,-pi/2);//eSweepAngle是相对起始角度计算的角度值