CCurve.h
上传用户:qiye66671
上传日期:2009-12-10
资源大小:182k
文件大小:1k
- #include"CUnit.h"
- #ifndef CCURVE
- #define CCURVE
- class CCurve :public CUnit
- {
-
- public:
- virtual void OnLButtonDown(CDC *pDC, CEastDrawView *pView, CPoint point);
- virtual void OnMouseMove(CDC *pDC, CEastDrawView *pView, CPoint point);
- virtual void DrawActive(CDC *pDC,CPoint point);
- CRect GetBoundingRect();
- virtual void ShowSelectPoint(CDC*pDC);
- virtual BOOL IsInRgn(CPoint point);
- virtual void DrawMask(CDC*pDC,CPoint first,CPoint second);
- CCurve();
- virtual void Serialize(CArchive&ar);
- virtual void Initial();
- virtual int IsOnMarginPoint(CPoint point);
-
- void DrawStatic(CDC*pDC);
- DECLARE_SERIAL(CCurve)
- };
- #endif