interface.h

来自「用vc编写的视频采集端口编成」· C头文件 代码 · 共 43 行

H
43
字号
#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 + =
减小字号Ctrl + -
显示快捷键?