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

📄 pointshape.h

📁 用于地理信息系统(GIS)行业程序。 完整的鼠标交互式地图点、线、面的绘制
💻 H
字号:
//PointShape.h


#ifndef POINTSHAPE_H
#define POINTSHAPE_H

//为避免与MFC类CPoint类冲突,在此命名为CPointShape,
//而不是CPoint

class CPointShape:public CDraw
{
protected:
	DECLARE_SERIAL(CPointShape)

	float m_fXcoord;	//点X、Y坐标
	float m_fYcoord;
	float m_fRadius;	//半径

public:
	CPointShape(){}
	CPointShape(short colorPen,short colorBrush,short lineWide,
		short lineType,short layer,int idOnly,BOOL bDelete,
 		float Xcoord,float Ycoord);

	 ~CPointShape();
	

	virtual void Serialize(CArchive& ar);
	virtual	void Draw(CDC *pDC,int drawMode1,int drawMode2,short colorPen);
	virtual void  GetBoundRect(float& x1, float& y1, float& x2, float& y2);

};


#endif

⌨️ 快捷键说明

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