tabrectangle.h

来自「linux下一款GIS程序源码」· C头文件 代码 · 共 58 行

H
58
字号
// tabrectangle.h: interface for the TABRectangle class.///*--------------------------------------------------------------------- *                      class TABRectangle * * Feature class to handle the MapInfo rectangle types: * *     TAB_GEOM_RECT_C         0x13 *     TAB_GEOM_RECT           0x14 *     TAB_GEOM_ROUNDRECT_C    0x16 *     TAB_GEOM_ROUNDRECT      0x17 * * A rectangle is defined by the coords of its 2 opposite corners (the MBR) * Its corners can optionaly be rounded, in which case a X and Y rounding * radius will be defined. * * Feature geometry will be UGKPolygon *--------------------------------------------------------------------*/#ifndef  TABRectangle_H#define  TABRectangle_H#include "tabfeaturepen.h"#include "tabfeature.h"#include "tabfeaturebrush.h"class TABRectangle : 	public TABFeature, 	public TABFeaturePen, 	public TABFeatureBrush  {public:	TABRectangle(UGKFeatureDefn *poDefnIn);	virtual ~TABRectangle();    virtual TABFeatureClass GetFeatureClass() { return TABFCRectangle; };    virtual int             ValidateMapInfoType(TABMAPFile *poMapFile = NULL);	virtual TABFeature *CloneTABFeature(UGKFeatureDefn *poNewDefn = NULL );    virtual int ReadGeometryFromMAPFile(TABMAPFile *poMapFile, TABMAPObjHdr *);    virtual int WriteGeometryToMAPFile(TABMAPFile *poMapFile, TABMAPObjHdr *);    virtual int ReadGeometryFromMIFFile(MIDDATAFile *fp);    virtual int WriteGeometryToMIFFile(MIDDATAFile *fp);	virtual const char *GetStyleString();	virtual void DumpMIF(FILE *fpOut = NULL);    UGKBool       m_bRoundCorners;    double      m_dRoundXRadius;    double      m_dRoundYRadius;};#endif 

⌨️ 快捷键说明

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