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

📄 terrain.h

📁 此为地球物理中的
💻 H
字号:
// Terrain.h: interface for the Terrain class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TERRAIN_H__046CEB64_CD84_469E_9F28_B7D445E144A8__INCLUDED_)
#define AFX_TERRAIN_H__046CEB64_CD84_469E_9F28_B7D445E144A8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <afxtempl.h>
/////////////////////////////////////
//此类主要模拟地形的起伏
///////////////////////////////////
class Terrain// : public CObject  
{
public:
	Terrain();
	Terrain(int xb,int yb,int xe,int ye);
	Terrain(CPoint p1,CPoint p2);
	Terrain(const Terrain &M);
	virtual ~Terrain();
public:
	Terrain operator=(const Terrain& M);
public:
	int m_iXBegin;
	int m_iYBegin;

	int m_iXEnd;
	int m_iYEnd;

	double m_dAngle;
public:
	void Draw(CDC* pDC);
	 //CPen pen(0,3,RGB(4,36,255)); //创建画笔
	  // CPen* pOldPen=dc.SelectObject(&pen);//选入画笔
};

#endif // !defined(AFX_TERRAIN_H__046CEB64_CD84_469E_9F28_B7D445E144A8__INCLUDED_)

⌨️ 快捷键说明

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