CLiEllipse.h 547 B

1234567891011121314151617181920
  1. #ifndef CLIELLIPSE
  2. #define CLIELLIPSE
  3. #include"CUnit.h"
  4. class CLiEllipse: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 void ShowSelectPoint(CDC *pDC);
  11. CRoundRectangle();
  12. virtual BOOL IsInRgn(CPoint point);
  13. virtual int IsOnMarginPoint(CPoint point);
  14. virtual void Serialize(CArchive &ar);
  15. virtual void DrawStatic(CDC*pDC);
  16. DECLARE_SERIAL(CLiEllipse)
  17. };
  18. #endif