CCurve.h 634 B

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