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

绘图程序

开发平台:

C/C++

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