You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
642 B
C++

#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);
};
};