BOOL Arc( HDC hdc, // handle to device context int nLeftRect, // x-coord of rectangle's upper-left corner int nTopRect, // y-coord of rectangle's upper-left corner int nRightRect, // x-coord of rectangle's lower-right corner int nBottomRect, // y-coord of rectangle's lower-right corner int nXStartArc, // x-coord of first radial ending point int nYStartArc, // y-coord of first radial ending point int nXEndArc, // x-coord of second radial ending point int nYEndArc // y-coord of second radial ending point );利用Arc画圆弧,需要知道圆所在矩形的坐标,就是 int nLeftRect, int nTopRect, int nRightRect, int nBottomRect,然后知道圆弧开始和结束坐标就可以了。你只拿出那三个坐标,估计要计算出所在圆的外切矩形了吧...
HDC hdc, // handle to device context
int nLeftRect, // x-coord of rectangle's upper-left corner
int nTopRect, // y-coord of rectangle's upper-left corner
int nRightRect, // x-coord of rectangle's lower-right corner
int nBottomRect, // y-coord of rectangle's lower-right corner
int nXStartArc, // x-coord of first radial ending point
int nYStartArc, // y-coord of first radial ending point
int nXEndArc, // x-coord of second radial ending point
int nYEndArc // y-coord of second radial ending point
);利用Arc画圆弧,需要知道圆所在矩形的坐标,就是
int nLeftRect, int nTopRect, int nRightRect, int nBottomRect,然后知道圆弧开始和结束坐标就可以了。你只拿出那三个坐标,估计要计算出所在圆的外切矩形了吧...