#pragma once #include "item.h" namespace NItem { /** * Îå±ßÐλæÖÆÀà */ class CItemEquilateral : public CItem { public: CItemEquilateral(CSigmaDoc * ppDoc); virtual ~CItemEquilateral(void); protected: dfPoint PointStart, PointEnd; int loop; void Draw(CXyDC *pDC, dfPoint &pd, dfPoint &pu, BOOL bAdd); int m_nPropertyView; public: long m_PolygonNumber; void OnLButtonDown(CDC* pDC, UINT nFlags, CPoint point, int vk) override; BOOL OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) override; int OnMouseMove(CDC* pDC, UINT nFlags, CPoint point) override; void OnDraw(CXyDC* pDC) override; virtual BOOL DoSelectEnd(void); }; };