📄 tabmapobjcustompoint.cpp
字号:
// tabmapobjcustompoint.cpp: implementation of the TABMAPObjCustomPoint class.////////////////////////////////////////////////////////////////////////#include "tabmapobjcustompoint.h"#include "ugk_errhandle.h"/********************************************************************** * TABMAPObjCustomPoint::ReadObj() * * Read Object information starting after the object id **********************************************************************/int TABMAPObjCustomPoint::ReadObj(TABMAPObjectBlock *poObjBlock){//__TODO__ For now this is read directly in ReadGeometryFromMAPFile()// This will be implemented the day we support random update. return 0;}/********************************************************************** * TABMAPObjCustomPoint::WriteObj() * * Write Object information with the type+object id * * Returns 0 on success, -1 on error. **********************************************************************/int TABMAPObjCustomPoint::WriteObj(TABMAPObjectBlock *poObjBlock){ // Write object type and id TABMAPObjHdr::WriteObjTypeAndId(poObjBlock); poObjBlock->WriteByte(m_nUnknown_); // ??? poObjBlock->WriteByte(m_nCustomStyle); // 0x01=Show BG, 0x02=Apply Color poObjBlock->WriteIntCoord(m_nX, m_nY, IsCompressedType()); poObjBlock->WriteByte(m_nSymbolId); // Symbol index poObjBlock->WriteByte(m_nFontId); // Font index if (UGKGetLastErrorNo() != 0) return -1; return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -