graphdataset.cpp
来自「Read nmea file and send to com port. yo」· C++ 代码 · 共 56 行
CPP
56 行
//GraphDataSet.h - Version 3.0 (Brian Convery, May, 2001)
// GraphDataSet.cpp : implementation file
//
#include "stdafx.h"
#include "GraphDataSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGraphDataSet
CGraphDataSet::CGraphDataSet()
{
xPosition = 0;
yPosition = 0;
}
CGraphDataSet::~CGraphDataSet()
{
}
/////////////////////////////////////////////////////////////////////////////
// CGraphDataSet message handlers
void CGraphDataSet::SetXPosition(double x)
{
xPosition = x;
}
void CGraphDataSet::SetYPosition(double y)
{
yPosition = y;
}
void CGraphDataSet::SetPosition(double x, double y)
{
xPosition = x;
yPosition = y;
}
double CGraphDataSet::GetXData()
{
return xPosition;
}
double CGraphDataSet::GetYData()
{
return yPosition;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?