📄 interface.h
字号:
#ifndef INTERFACE_H
#define INTERFACE_H
typedef struct
{
char lpszPathName[100];
BOOL bSimple;
BOOL bTemplate;
} INPARAM;
class CTemplateInfo
{
// Attributes
public:
int m_nHorNum; //the number of horizontal lines
int m_nMinHorLen; //the minimum horizontal line length
int m_nMaxHorLen; //the maximum horizontal line length
int m_nVerLeftLen; //the left vertical length
int m_nVerRightLen; //the right verticla length
double m_slopeLeft; //the slopex of left vertical line
double m_slopeRight; //the slopex of right vertical line
double m_leftRadio; //the radio of m_nMinHorLen/m_nLeftLen
int m_nLStartX;
int m_nLStartY;
int m_nLEndX;
int m_nLEndY;
int m_nRStartX;
int m_nRStartY;
int m_nREndX;
int m_nREndY;
// Operations
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -