EgtGeomKernel :
- completamento della modifica del precedente commit.
This commit is contained in:
@@ -397,6 +397,10 @@ OsFont::ApproxWithLines( const string& sText, int nInsPos, double dLinTol, doubl
|
||||
for ( iIter = lstPL.begin() ; iIter != lstPL.end() ; ++ iIter)
|
||||
(*iIter).Translate( vtIpMove) ;
|
||||
|
||||
// inverto le polilinee per avere gli esterni CCW
|
||||
for ( iIter = lstPL.begin() ; iIter != lstPL.end() ; ++ iIter)
|
||||
(*iIter).Invert() ;
|
||||
|
||||
// ripristino il font originale
|
||||
SelectObject( m_hDC, hPrevFont) ;
|
||||
|
||||
@@ -475,6 +479,10 @@ OsFont::ApproxWithArcs( const string& sText, int nInsPos, double dLinTol, double
|
||||
for ( iIter = lstPA.begin() ; iIter != lstPA.end() ; ++ iIter)
|
||||
(*iIter).Translate( vtIpMove) ;
|
||||
|
||||
// inverto i poliarchi per avere gli esterni CCW
|
||||
for ( iIter = lstPA.begin() ; iIter != lstPA.end() ; ++ iIter)
|
||||
(*iIter).Invert( true) ;
|
||||
|
||||
// ripristino il font originale
|
||||
SelectObject( m_hDC, hPrevFont) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user