CPolygon.h
上传用户:qiye66671
上传日期:2009-12-10
资源大小:182k
文件大小:1k
源码类别:

绘图程序

开发平台:

C/C++

  1. #ifndef CPOLYGON
  2. #define CPOLYGON
  3. #include"CUnit.h"
  4. class CPolygon:public CUnit
  5. {
  6.  DECLARE_SERIAL(CPolygon)
  7.  
  8.  
  9.  public:
  10.  virtual void OnMouseMove(CDC*pDC,CEastDrawView*pView,CPoint point);
  11.  virtual void OnLButtonDown(CDC *pDC, CEastDrawView *pView, CPoint point);
  12.  virtual void DrawActive(CDC *pDC,CPoint point);
  13.  virtual void ShowSelectPoint(CDC *pDC);
  14.  
  15.  virtual void ExchangeDraw(CDC *pDC, CPoint point);
  16.  virtual BOOL IsInRgn(CPoint point);
  17.  virtual int IsOnMarginPoint(CPoint point);
  18.  virtual void DrawEnd(CDC*pDC,CPoint point);
  19.  CPolygon();
  20.  virtual void DrawMask(CDC*pDC,CPoint point);
  21.  virtual void DrawStatic(CDC*pDC);
  22.  virtual void Initial();
  23. void Serialize(CArchive &ar);
  24. };
  25. #endif