Cleanup: remove unnecessary macros EXCHG and NEGATE. add MIRROR macro.

This commit is contained in:
unknown
2015-06-26 15:41:56 +02:00
committed by jean-pierre charras
parent 3e398ce1c6
commit 71b3125d8e
61 changed files with 238 additions and 299 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ void BRDITEMS_PLOTTER::PlotTextModule( TEXTE_MODULE* pt_texte, EDA_COLOR_T aColo
thickness = pt_texte->GetThickness();
if( pt_texte->IsMirrored() )
NEGATE( size.x ); // Text is mirrored
size.x = -size.x; // Text is mirrored
// Non bold texts thickness is clamped at 1/6 char size by the low level draw function.
// but in Pcbnew we do not manage bold texts and thickness up to 1/4 char size