EgtGeomKernel :

- completamento della modifica del precedente commit.
This commit is contained in:
Dario Sassi
2015-03-11 16:21:30 +00:00
parent ea110e4ce8
commit 3dd5d63a65
+8
View File
@@ -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) ;