vc里面哪些函数实现如下操作:画直线
画圆
画矩形
画曲线
画点

解决方案 »

  1.   

    CDC类中的函数可以实现,或者直接用win32的画图函数
      

  2.   

    画点:  CDC::SetPixel(int x,int y,crColor); 
    画直线: CDC::LineTo(int x,int y);
    画折线:CDC::Polyline(CONST POINT *lppt,int cPoints);
    画圆:CDC::Ellispe(int nLeftRect,int nTopRect,
                      int nRightRect,int BottonRect);
    画矩形:CDC::Rectangle(int nLeftRect,int nTopRect,
                      int nRightRect,int BottonRect);