tabcustompoint.h
来自「linux下一款GIS程序源码」· C头文件 代码 · 共 58 行
H
58 行
// tabcustompoint.h: interface for the TABCustomPoint class.///*--------------------------------------------------------------------- * class TABCustomPoint * * Feature class to handle MapInfo Custom Point Symbol (Bitmap) types: * * TAB_GEOM_CUSTOMSYMBOL_C 0x2b * TAB_GEOM_CUSTOMSYMBOL 0x2c * * Feature geometry will be a UGKPoint * * The symbol name is the name of a BMP file stored in the "CustSymb" * directory (e.g. "arrow.BMP"). The symbol number has no meaning for * this symbol type. *--------------------------------------------------------------------*/#ifndef TABCustomPoint_H#define TABCustomPoint_H#include "tabpoint.h"#include "tabfeaturefont.h"class TABCustomPoint : public TABPoint, public TABFeatureFont {protected: UGKByte m_nCustomStyle; // Show BG/Apply Color public: TABCustomPoint(UGKFeatureDefn *poDefnIn); virtual ~TABCustomPoint(); virtual TABFeatureClass GetFeatureClass() { return TABFCCustomPoint; }; 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(); const char *GetSymbolNameRef() { return GetFontNameRef(); }; void SetSymbolName(const char *pszName) {SetFontName(pszName);}; UGKByte GetCustomSymbolStyle() {return m_nCustomStyle;} void SetCustomSymbolStyle(UGKByte nStyle) {m_nCustomStyle = nStyle;} UGKByte m_nUnknown_;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?