PlineRgn.h
资源名称:基本GIS系统开发.rar [点击查看]
上传用户:yklx818
上传日期:2013-04-13
资源大小:459k
文件大小:1k
源码类别:
GIS编程
开发平台:
Visual C++
- // PlineRgn.h: interface for the CPlineRgn class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_PLINERGN_H__2063D516_3501_4529_AF1B_DFFE3E6E2B63__INCLUDED_)
- #define AFX_PLINERGN_H__2063D516_3501_4529_AF1B_DFFE3E6E2B63__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Pline.h"
- #include "data.h"
- class CPlineRgn : public CPline
- {
- protected:
- BOOL m_bTransparent;
- float m_fArea;
- BOOL m_bFill;
- virtual void CalArea();
- public:
- CPlineRgn()
- {m_Numble=0;}
- CPlineRgn(short ColorPen,short ColorBrush,float LineWide,short LineType,short Layer,int id_only,BOOL Delete,int Numble,PointStruct* PointList,BOOL bTransparent,BOOL bFill)
- :CPline( ColorPen, ColorBrush, LineWide, LineType, Layer, id_only, Delete, Numble,PointList)
- {
- m_bTransparent=bTransparent;
- m_bFill=bFill;
- }
- virtual void Draw(CDC* pDC,int m_DrawMode,int m_DrawModel,short BackColor);
- virtual BOOL IsPoint(float x,float y,float j1,float blc);
- virtual void Move(float x_Move,float y_Move);
- virtual void Rotate(float baseX,float baseY,float angle);
- virtual BOOL IsFill();
- BOOL IsRectCross(float minx,float miny,float maxx,float maxy);
- ~CPlineRgn(){}
- };
- #endif // !defined(AFX_PLINERGN_H__2063D516_3501_4529_AF1B_DFFE3E6E2B63__INCLUDED_)