CRound.h 584 B

12345678910111213141516171819202122
  1. #ifndef CROUND
  2. #define CROUND
  3. #include"CUnit.h"
  4. class CRound:public CUnit
  5. {
  6. DECLARE_SERIAL(CRound)
  7. public:
  8. void OnMouseMove(CDC*pDC,CEastDrawView*pView,CPoint point);
  9. virtual void OnLButtonDown(CDC *pDC, CEastDrawView *pView, CPoint point);
  10. virtual void DrawActive(CDC *pDC,CPoint point);
  11. virtual void ShowSelectPoint(CDC *pDC);
  12. virtual void Serialize(CArchive &ar);
  13. virtual int IsOnMarginPoint(CPoint point);
  14. virtual BOOL IsInRgn(CPoint point);
  15. virtual int ComputRadious(CPoint centerPoint, CPoint movingPoint);
  16. virtual void DrawStatic(CDC*pDC);
  17. CRound();
  18. };
  19. #endif