HDC hdc = ::GetDC(m_hWnd); BOOL b = Pie(hdc, 10, 10, 200, 200, 130, 200, 160, 10);//绘制饼图 /* 参数1:HDC 参数2和参数3:int 限定矩形左上角坐标 参数4和参数5:int 限定矩形右下角坐标 参数6和参数7:int 起点坐标 参数8和参数9:int 终点坐标 【起点 终点 逆时针方向】 */ TCHAR ch[] = _T("起点"); b = TextOut(hdc, 130, 200, ch, _tcslen(ch)); TCHAR ch1[] = _T("终点"); b = TextOut(hdc, 160, 10, ch1, _tcslen(ch1));
标签:200,MFC,10,int,Pie,ch,参数,hdc,绘制 From: https://www.cnblogs.com/liming19680104/p/17368760.html