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
@@ -115,7 +115,8 @@ bool DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF( const wxString& aFileName,
const PAGE_INFO& pageInfo = aScreen->GetPageSettings();
plotter->SetPageSettings( pageInfo );
plotter->SetColorMode( getModeColor() );
plotter->SetViewport( aPlotOffset, IU_PER_DECIMILS, aScale, false );
// Currently, plot units are in decimil
plotter->SetViewport( aPlotOffset, IU_PER_MILS/10, aScale, false );
// Init :
plotter->SetCreator( wxT( "Eeschema-DXF" ) );