📄 tabcustompoint.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -