... PolyBezierTo (100, 200) void CTestGDIView::OnDraw(CDC* pDC) { pDC->MoveTo(10, 10); pDC->LineTo(200, 200); } #include #define SEGMENTS 100 #define PI 3.14159 void CTestGDIView::OnDraw(CDC* pDC) ... / 2) * (1 - (sin ((2 * PI * i) / SEGMENTS)))); } pDC->Polyline (aPoint, SEGMENTS); } void CTestGDIView::OnDraw(CDC* pDC) { POINT aPoint1[4] = { 120,100,120,200,250,150,500,40 }; POINT aPoint2[4] ... pDC->PolyBezier (aPoint2, 4); } 4.4 nhâ Chord Ellipse Pie Polygon Rectangle RoundRect void CTestGDIView::OnDraw(CDC* pDC) { pDC->Ellipse (0, 0, 150, 200); pDC->Rectangle (50, 50, 100, 150); }...