Combine Iu2Millimeter & remove PcbMm2iu

This commit is contained in:
Marek Roszko
2022-09-16 21:09:26 -04:00
parent 45c6ab5f8b
commit a8613ee80f
80 changed files with 364 additions and 374 deletions
+1 -1
View File
@@ -1113,7 +1113,7 @@ void BRDITEMS_PLOTTER::PlotDrillMarks()
/* If small drills marks were requested prepare a clamp value to pass
to the helper function */
int smallDrill = GetDrillMarksType() == PCB_PLOT_PARAMS::SMALL_DRILL_SHAPE
? Millimeter2iu( ADVANCED_CFG::GetCfg().m_SmallDrillMarkSize ) : 0;
? pcbIUScale.mmToIU( ADVANCED_CFG::GetCfg().m_SmallDrillMarkSize ) : 0;
/* In the filled trace mode drill marks are drawn white-on-black to scrape
the underlying pad. This works only for drivers supporting color change,