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

绘图程序

开发平台:

C/C++

  1. #ifndef POLYBEZIER
  2. #define POLYBEZIER
  3. #include"CUnit.h"
  4. class CPolyBezier:public CUnit
  5. {
  6.    DECLARE_SERIAL(CPolyBezier)
  7. public:
  8. virtual void OnContextMenu(CWnd *pWnd, CPoint point);
  9. virtual void Serialize(CArchive& ar);
  10. virtual void OnMenuitemOk(CDC *pDC, CEastDrawView *pView);
  11. virtual BOOL IsInRgn(CPoint point);
  12. virtual int IsOnMarginPoint(CPoint point);
  13. void DrawMaskPoint(CDC*pDC);
  14. virtual void ShowSelectPoint(CDC*pDC);
  15. virtual void DrawStatic(CDC*pDC);
  16. virtual void OnMouseMove(CDC*pDC,CEastDrawView*pView,CPoint point);
  17. virtual void OnLButtonDown(CDC*pDC,CEastDrawView*pView,CPoint point);
  18. virtual void DrawActive(CDC *pDC,CPoint point);
  19. CPolyBezier();
  20. CPoint*m_PointList;
  21. BOOL m_HaveDrawFirst;
  22. };
  23. #endif