📄 graph.cpp
字号:
// Graph.cpp: implementation of the CGraph class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "SmallCAD203.h"
#include "Graph.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CGraph::CGraph()
{
nflag=0;
m_scale=1;
m_color=0;
}
CGraph::~CGraph()
{
}
void CGraph::SetColor(COLORREF color)
{
m_color=color;
}
COLORREF CGraph::GetColor()
{
return m_color;
}
void CGraph::SetScale(int scale)
{
m_scale=scale;
}
int CGraph::GetScale()
{
return m_scale;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -