⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ecg_draw.h

📁 一个开源的心电图测量仪驱动和应用软件,可记录
💻 H
字号:
// ECG_DRAW.h: interface for the ECG_DRAW class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ECG_DRAW_H__3400DA62_9119_11D7_8A9A_F26D4DCAD47A__INCLUDED_)
#define AFX_ECG_DRAW_H__3400DA62_9119_11D7_8A9A_F26D4DCAD47A__INCLUDED_

#include "Person.h"	// Added by ClassView
#include "ECG_Info.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class AFX_EXT_CLASS ECG_DRAW  
{
public:
	void SetEcgInfo(CString info);
	void PrintBMP(CPerson* lpperson);
	void SaveBMP();
	void SetArr(double* srcECG,double *srcQRS,int lenght);
	void SetEcgDrawRect(CDC* pDC,CRect rDrawRect,int from,int to);
	ECG_DRAW();
	virtual ~ECG_DRAW();

private:
	int DrawPersonalInfo(CDC *pDC, int x, int y,CPerson* lpperson);

	CPerson person;
	int i_to;
	int i_from;
	void DrawFromTo(CDC* pDC,int d);
	void DrawQRS(CDC* pDC,int d);
	void DrawText(CDC* pDC,int d);
	CString s_BmpInfo;
	void DrawEcg(CDC* pDC,CRect rRect,int d);
	void DrawGrid(CDC* pDC,CRect rRect,int d,COLORREF color);
	float ECG[2500];
	float QRS[2500];
	void Draw();
	CRect m_rDrawRect;
	CDC* DC;
};

#endif // !defined(AFX_ECG_DRAW_H__3400DA62_9119_11D7_8A9A_F26D4DCAD47A__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -