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

📄 graph.cpp

📁 电磁场的演示程序
💻 CPP
字号:
// Graph.cpp: implementation of the CGraph class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "MicroWave.h"
#include "Graph.h"

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

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

CGraph::CGraph()
{

}

CGraph::~CGraph()
{

}

CGraph::CGraph(int Type, float value, COLORREF pen_color)
{
	this->Type=Type;
	this->value=value;
	this->pen_color=pen_color;

}
CGraph::CGraph(int Type,CPoint EndPoint,COLORREF pen_color)
{
	this->Type=Type;
	this->EndPoint=EndPoint;
	this->pen_color=pen_color;

}
CGraph::CGraph(int Type,CString str,CPoint pos,COLORREF pen_color)
{
	this->Type=Type;
	this->str=str;
	this->pos=pos;
	this->pen_color=pen_color;
}

⌨️ 快捷键说明

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