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.
|
|
|
|
#pragma once
|
|
|
|
|
#include "mousetool.h"
|
|
|
|
|
//<2F><><EFBFBD>߶ι<DFB6><CEB9><EFBFBD>
|
|
|
|
|
class CMouseToolPline :public CMouseTool
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CMouseToolPline(void);
|
|
|
|
|
~CMouseToolPline(void);
|
|
|
|
|
virtual void OnLButtonDown(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OnLButtonUp(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OnRButtonDown(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OnMouseMove(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OnEscapeKey();
|
|
|
|
|
virtual bool OnSetCmd(CString str);
|
|
|
|
|
private :
|
|
|
|
|
void CreatOneLine(Dbxy pt);
|
|
|
|
|
void AlllineCombToPline();
|
|
|
|
|
private:
|
|
|
|
|
double m_Length;//<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
double m_Angle;//360 <20><>
|
|
|
|
|
};
|
|
|
|
|
|