... 200) void CTestGDIView::OnDraw(CDC* pDC) { ... pDC->MoveTo(10, 10); pDC->LineTo(200, 200); } #include <math.h> #define SEGMENTS 100 #define PI 3.14159 void CTestGDIView::OnDraw(CDC* ... (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 ... 4); } 4.4 ư nhâ Chord Ellipse Pie Polygon Rectangle RoundRect void CTestGDIView::OnDraw(CDC* pDC) { ... pDC->Ellipse (0, 0, 150, 200); pDC->Rectangle (50,...