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

📄 geoobject.h

📁 VC++开发广州市交通运输干线
💻 H
字号:
// GeoObject.h: interface for the CGeoObject class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GEOOBJECT_H__40168FF9_06F4_487D_90CF_3382CA82E4EC__INCLUDED_)
#define AFX_GEOOBJECT_H__40168FF9_06F4_487D_90CF_3382CA82E4EC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "vector"
using namespace std;
class CGeoObject// : public CObject  //地图对象的基类
{
public:
	void GetAttriCode(int &attriCode);
	void SetAttriCode(int attriCode);
//	virtual void Draw(CDC *pDC) =0;
	CGeoObject();
	virtual ~CGeoObject();
protected:
	int m_attriCode;		//地理对象的属性码
	CString m_strName;
private:
};

//

class CGeoPointXY
{
public:
	float X;
	float Y;
};
class CGeoPen
{
public:
		int nPenStyle;
		int nWidth;
		COLORREF crColor;
};
class CGeoBrush
{
public:
	int nIndex;
	COLORREF crColor;
	CBitmap* pBitmap ;
};
class CGeoRect
{
public:
	BOOL PtInGeoRect(POINT mousepoint);
	float left;
	float bottom;
	float right;
	float top;
};
#endif // !defined(AFX_GEOOBJECT_H__40168FF9_06F4_487D_90CF_3382CA82E4EC__INCLUDED_)

⌨️ 快捷键说明

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