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"
|
|
|
|
|
class CMouseToolRotate :public CMouseTool
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CMouseToolRotate(void);
|
|
|
|
|
~CMouseToolRotate(void);
|
|
|
|
|
virtual void OnLButtonDown(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OnLButtonUp(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OperateObj(Dbxy StartPt,Dbxy EndPt);
|
|
|
|
|
virtual void OnMouseMove(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OperateOver();
|
|
|
|
|
virtual bool NeedToPointTool(){return true;};
|
|
|
|
|
bool OnSetCmd(CString str);
|
|
|
|
|
private:
|
|
|
|
|
Dbxy m_CenterPt;//<2F><>ת<EFBFBD><D7AA><EFBFBD>ĵ㲻<C4B5>ܱ<EFBFBD>
|
|
|
|
|
double m_Angle;
|
|
|
|
|
};
|
|
|
|
|
|