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

绘图程序

开发平台:

C/C++

  1. #ifndef CROUNDRECTANGLE
  2. #define CROUNDRECTANGEL
  3. #include"CUnit.h"
  4. class CRoundRectangle: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.     
  16. virtual void  DrawStatic(CDC*pDC);
  17. DECLARE_SERIAL(CRoundRectangle)
  18. };
  19. #endif