📄 fwmaindefine.h
字号:
//-- {CycleCode: 31} file [0..531]
//-- {InsertRegion: 34} module.vulnerableDeclarations [0..52]
//## begin module.additionalDeclarations preserve=yes
#if !defined(AFX_FWMAINDEFINE_H__4B4062A9_9124_442C_8795_0B66A449A080__INCLUDED_)
#define AFX_FWMAINDEFINE_H__4B4062A9_9124_442C_8795_0B66A449A080__INCLUDED_
#define MAX_ZORE_DOUBLE 1e-10
#define MIN_ZORE_DOUBLE -1e-10
#define ONE_M 1048576
#define ONE_K 1024
//最大层名字节数
#define MAX_LAYER_NAME_LENGTH 32
//最大线型名长度
#define MAX_LINE_NAME_LENGTH 32
//最大类名
#define MAX_CLASS_NAME_LENGTH 32
//视图回退数
#define VIEW_UNDO_NUMBER 16
//无效的长度
#define INVALIDATION_LENGTH -99999;
#define INVALIDATION_HEIGHT -99999;
//粗精绘
#define DrawElement_Rudely_Bit 0x0001
//高亮
#define DrawElement_Bright_Bit 0x0002
//////////////////////////////////////////////////////////////////////////
//程序定义
#define MFX_DLLExport __declspec(dllexport)
//保存数据
#define WRITEDATA(Data) if(fwrite(&Data,sizeof(Data),1,pf)!= 1)\
return FALSE;
//读取数据
#define READDATA(Data) if(fread(&Data,sizeof(Data),1,pf)!= 1)\
return FALSE;
//1关联、2显示、3锁定、4可捕捉、5删除、6修改过、7闭合、8填充
enum eElementHbitus
{
Element_Associated= 0x0001,
Element_View= 0x0002,
Element_Lock= 0x0004,
Element_Delete= 0x0008,
Element_Change= 0x0010,
Element_Close= 0x0020,
Element_Fill= 0x0040,
};
enum eElementSearchType
{
Element_Search_Inside = 0,
Element_Search_Overlap,
Element_Search_Clip,
Element_Search_Void,
Element_Search_Void_Overlap,
Element_Search_Void_Clip,
};
//## end module.additionalDeclarations
//-- {AddDecl: 32} forward class generated [53..73]
class CObjectManager;
//-- {AddDecl: 33} module.vulnerableDeclarations [74..531]
//## begin module.epilog preserve=yes
#include "resource.h"
#include "MFX_Function.h"
#include "OrderArray.h"
#include "MemStackManageBase.h"
#include "inlinefunction.h"
#include "CMDID.h"
#include "CMessageBase.h"
#include "DrawBase.h"
#include "cadbase.h"
#include "cadfunction.h"
#include "alignment.h"
#include "ElementBase.h"
#include "ProcPtrInfo.h"
#include "ProcPtrInfoOperation.h"
#include "CMDInfo.h"
#include "MessgeInfo.h"
#include "MessageInfoOperation.h"
#include "ViewManagerInfo.h"
#include "DrawCoord.h"
#include "ModelInfo.h"
#include "CCMDManager.h"
#include "CFaceManager.h"
#include "CMessageManager.h"
#include "CModelManager.h"
#include "ElementManager.h"
#include "CViewManager.h"
#include "CUserView.h"
#include "CObjectManager.h"
//## end module.epilog
# endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -