CDLine.h 584 B

1234567891011121314151617181920
  1. #include"CUnit.h"
  2. #ifndef CDLINE
  3. #define CDLINE
  4. class CDLine:public CUnit
  5. {
  6. public:
  7. virtual void OnMouseMove(CDC*pDC,CEastDrawView*pView,CPoint point);
  8. virtual void OnLButtonDown(CDC *pDC, CEastDrawView *pView, CPoint point);
  9. virtual void DrawActive(CDC *pDC,CPoint point);
  10. virtual BOOL IsInRgn(CPoint point);
  11. virtual void ShowSelectPoint(CDC*pDC);
  12. virtual void Circumrotate(CPoint first,CPoint second);
  13. virtual int IsOnMarginPoint(CPoint point);
  14. virtual void Initial();
  15. virtual CRgn* GetRgn();
  16. CDLine();
  17. virtual void DrawStatic(CDC*pDC);
  18. DECLARE_SERIAL(CDLine)
  19. };
  20. #endif