Minor plot driver enhancements

This commit is contained in:
Lorenzo Marcantonio
2012-08-29 22:13:47 +02:00
parent 0cb647ee1e
commit bb0711eb3f
17 changed files with 179 additions and 102 deletions
+1
View File
@@ -25,6 +25,7 @@ void GERBER_PLOTTER::SetViewport( const wxPoint& aOffset, double aIusPerDecimil,
plotOffset = aOffset;
wxASSERT( aScale == 1 );
plotScale = 1;
m_IUsPerDecimil = aIusPerDecimil;
iuPerDeviceUnit = 1.0 / aIusPerDecimil;
/* We don't handle the filmbox, and it's more useful to keep the
* origin at the origin */