EgtGeomKernel 1.6g6 :
- gestione dei Dump con unità di misura (mm o inch) per interfaccia.
This commit is contained in:
+6
-5
@@ -18,7 +18,8 @@
|
||||
#include "NgeWriter.h"
|
||||
#include "NgeReader.h"
|
||||
#include "FontManager.h"
|
||||
#include "\EgtDev\Include\EGkStringUtils3d.h"
|
||||
#include "/EgtDev/Include/EGkStringUtils3d.h"
|
||||
#include "/EgtDev/Include/EGkUiUnits.h"
|
||||
#include <new>
|
||||
|
||||
using namespace std ;
|
||||
@@ -194,10 +195,10 @@ ExtText::GetTitle( void) const
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
ExtText::Dump( string& sOut, const char* szNewLine) const
|
||||
ExtText::Dump( string& sOut, bool bMM, const char* szNewLine) const
|
||||
{
|
||||
// parametri
|
||||
sOut += "P(" + ToString( m_ptP, 3) + ") " ;
|
||||
sOut += "P(" + ToString( GetInUiUnits( m_ptP, bMM), 3) + ") " ;
|
||||
sOut += " IP=" + ToString( m_nInsPos) + szNewLine ;
|
||||
sOut += "VN(" + ToString( m_vtN, 6) + ") " + szNewLine ;
|
||||
sOut += "VS(" + ToString( m_vtD, 6) + ") " + szNewLine ;
|
||||
@@ -205,9 +206,9 @@ ExtText::Dump( string& sOut, const char* szNewLine) const
|
||||
sOut += "Fnt=" + m_sFont + szNewLine ;
|
||||
sOut += "W=" + ToString( m_nWeight) ;
|
||||
sOut += " I=" + ToString( m_bItalic) ;
|
||||
sOut += " H=" + ToString( m_dHeight, 1) ;
|
||||
sOut += " H=" + ToString( GetInUiUnits( m_dHeight, bMM), 1) ;
|
||||
sOut += " R=" + ToString( m_dRatio, 3) ;
|
||||
sOut += " A=" + ToString( m_dAddAdvance, 1) + szNewLine ;
|
||||
sOut += " A=" + ToString( GetInUiUnits( m_dAddAdvance, bMM), 1) + szNewLine ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user