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.
25 lines
609 B
C++
25 lines
609 B
C++
#pragma once
|
|
#include "commandbase.h"
|
|
|
|
//修改圆
|
|
class CCommandModifiCircle :
|
|
public CCommandBase
|
|
{
|
|
public:
|
|
CCommandModifiCircle(void);
|
|
~CCommandModifiCircle(void);
|
|
virtual CString GetStr(){return "修改circle";};
|
|
virtual void ExcuteExt();
|
|
virtual void UndoExt();
|
|
void SetPar(double Radius,int EdgeCnt,bool b);
|
|
private:
|
|
void ReCreatObj(bool bExcute);
|
|
private:
|
|
double m_OldRadius;//半径
|
|
int m_OldEdgeCnt;//边数
|
|
|
|
double m_Radius;//半径
|
|
int m_EdgeCnt;//边数
|
|
};
|
|
|