📄 draw.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 + -