大家来一起帮完善一下图形的移动,旋转等功能,小的刚学画图,对这些还不知道怎么实现
// TPDlg.h : ヘッダー ファイル
class Base {
public:
 Base(){pickflag = FALSE;}
 Base(CPoint p1, CPoint p2)
 {
  SetStart(p1);
  SetEnd(p2);
  pickflag = FALSE;
 };
 ~Base(){};
public:
 virtual void Draw(CDC* pDC) = 0;
 virtual BOOL Pick(CPoint p) = 0;
  void Move();
  void Turn();  
 public:
 void SetStart(CPoint p) { start = p; }
 CPoint GetStart() { return start; }
 void SetEnd(CPoint p) { end = p; }
 CPoint GetEnd() { return end; }
  void SetType(BOOL b) { type = b; }
 CPoint GetType() { return type; }
 protected:
 CPoint start;
 CPoint end;
  public:
 BOOL pickflag;
};