Commit c3ecce2e authored by jean-pierre charras's avatar jean-pierre charras

Eescheam: plot HPGL: add comments and minor fix.

parent 5590e1eb
This diff is collapsed.
...@@ -88,7 +88,7 @@ void DIALOG_PLOT_SCHEMATIC::initDlg() ...@@ -88,7 +88,7 @@ void DIALOG_PLOT_SCHEMATIC::initDlg()
// Set plot or not frame reference option // Set plot or not frame reference option
m_config->Read( PLOT_FRAME_REFERENCE_KEY, &tmp, true ); m_config->Read( PLOT_FRAME_REFERENCE_KEY, &tmp, true );
setPlotFrameRef( true ); setPlotFrameRef( tmp );
// Set HPGL plot origin to center of paper of left bottom corner // Set HPGL plot origin to center of paper of left bottom corner
m_config->Read( PLOT_HPGL_ORIGIN_KEY, &tmp, false ); m_config->Read( PLOT_HPGL_ORIGIN_KEY, &tmp, false );
......
...@@ -170,7 +170,7 @@ void DIALOG_PLOT_SCHEMATIC::createHPGLFile( bool aPlotAll ) ...@@ -170,7 +170,7 @@ void DIALOG_PLOT_SCHEMATIC::createHPGLFile( bool aPlotAll )
if( GetPlotOriginCenter() ) if( GetPlotOriginCenter() )
{ {
plotOffset.x = -plotPage.GetWidthIU() / 2; plotOffset.x = plotPage.GetWidthIU() / 2;
plotOffset.y = -plotPage.GetHeightIU() / 2; plotOffset.y = -plotPage.GetHeightIU() / 2;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment