EgtGeomKernel 2.2f1 :
- migliorie a gestione font.
This commit is contained in:
+9
-9
@@ -73,7 +73,7 @@ FontManager::SetCurrFont( const string& sFont, int nWeight, bool bItalic,
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::GetCapHeight( double& dCapH)
|
||||
FontManager::GetCapHeight( double& dCapH) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.GetCapHeight( dCapH) ;
|
||||
@@ -83,7 +83,7 @@ FontManager::GetCapHeight( double& dCapH)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::GetAscent( double& dAsc)
|
||||
FontManager::GetAscent( double& dAsc) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.GetAscent( dAsc) ;
|
||||
@@ -93,7 +93,7 @@ FontManager::GetAscent( double& dAsc)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::GetDescent( double& dDesc)
|
||||
FontManager::GetDescent( double& dDesc) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.GetDescent( dDesc) ;
|
||||
@@ -103,7 +103,7 @@ FontManager::GetDescent( double& dDesc)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::GetCapBox( const string& sText, int nInsPos, BBox3d& b3Box)
|
||||
FontManager::GetCapBox( const string& sText, int nInsPos, BBox3d& b3Box) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.GetXBox( sText, nInsPos, true, b3Box) ;
|
||||
@@ -113,7 +113,7 @@ FontManager::GetCapBox( const string& sText, int nInsPos, BBox3d& b3Box)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::GetBBox( const string& sText, int nInsPos, BBox3d& b3Box)
|
||||
FontManager::GetBBox( const string& sText, int nInsPos, BBox3d& b3Box) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.GetXBox( sText, nInsPos, false, b3Box) ;
|
||||
@@ -123,7 +123,7 @@ FontManager::GetBBox( const string& sText, int nInsPos, BBox3d& b3Box)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::GetOutline( const string& sText, int nInsPos, ICURVEPLIST& lstPC)
|
||||
FontManager::GetOutline( const string& sText, int nInsPos, ICURVEPLIST& lstPC) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.GetOutline( sText, nInsPos, lstPC) ;
|
||||
@@ -133,7 +133,7 @@ FontManager::GetOutline( const string& sText, int nInsPos, ICURVEPLIST& lstPC)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::ApproxWithLines( const string& sText, int nInsPos, double dLinTol, double dAngTolDeg, POLYLINELIST& lstPL)
|
||||
FontManager::ApproxWithLines( const string& sText, int nInsPos, double dLinTol, double dAngTolDeg, POLYLINELIST& lstPL) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.ApproxWithLines( sText, nInsPos, dLinTol, dAngTolDeg, lstPL) ;
|
||||
@@ -143,7 +143,7 @@ FontManager::ApproxWithLines( const string& sText, int nInsPos, double dLinTol,
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::ApproxWithArcs( const string& sText, int nInsPos, double dLinTol, double dAngTolDeg, POLYARCLIST& lstPA)
|
||||
FontManager::ApproxWithArcs( const string& sText, int nInsPos, double dLinTol, double dAngTolDeg, POLYARCLIST& lstPA) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.ApproxWithArcs( sText, nInsPos, dLinTol, dAngTolDeg, lstPA) ;
|
||||
@@ -153,7 +153,7 @@ FontManager::ApproxWithArcs( const string& sText, int nInsPos, double dLinTol, d
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
FontManager::GetTextLines( const string& sText, int nInsPos, PNTVECTOR& vPt, STRVECTOR& vLine)
|
||||
FontManager::GetTextLines( const string& sText, int nInsPos, PNTVECTOR& vPt, STRVECTOR& vLine) const
|
||||
{
|
||||
if ( m_bCurrNfeFont)
|
||||
return m_NfeFont.GetTextLines( sText, nInsPos, vPt, vLine) ;
|
||||
|
||||
Reference in New Issue
Block a user