Code cleanup: Remove outdated decimils to/from iu defines and conversion functions (decimils are no more in use since a long time).

Remove convert_from_iu.h file, only used for one define, and containing brokenand duplicate defines. Only convert_to_biu.h is now used.
This commit is contained in:
jean-pierre charras
2016-06-05 13:49:25 +02:00
parent 2b459acfe9
commit 6d1e904334
33 changed files with 133 additions and 247 deletions
+2 -1
View File
@@ -188,6 +188,7 @@ void DIALOG_PLOT_SCHEMATIC::setupPlotPagePDF( PLOTTER * aPlotter, SCH_SCREEN* aS
double scaley = (double) plotPage.GetHeightMils() / actualPage.GetHeightMils();
double scale = std::min( scalex, scaley );
aPlotter->SetPageSettings( plotPage );
aPlotter->SetViewport( wxPoint( 0, 0 ), IU_PER_DECIMILS, scale, false );
// Currently, plot units are in decimil
aPlotter->SetViewport( wxPoint( 0, 0 ), IU_PER_MILS/10, scale, false );
}