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

📄 draw.cpp

📁 项目的研究内容是对硅微谐振式加速度计的数据采集电路开展研究工作。硅微谐振式加速度计敏感结构输出的是两路差分的频率信号
💻 CPP
字号:
// DRAW.cpp: implementation of the DRAW class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "item4.h"
#include "DRAW.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

DRAW::DRAW()
{

}

DRAW::~DRAW()
{

}

void DRAW::SetData(long x,float y)
{
	this->mXY.x=(int)(x+50);
	this->mXY.y=(int)((20000-y)*120/2500+150);
}


POINT DRAW::GetPoint()
{
	return this->mXY;
}

⌨️ 快捷键说明

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