Eeschema plot worksheet: use the color defined in Eeschema settings.
Fixes #4265 https://gitlab.com/kicad/code/kicad/issues/4265
This commit is contained in:
parent
3759799d1e
commit
349ec2031b
|
@ -140,7 +140,9 @@ bool DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF( const wxString& aFileName,
|
|||
PlotWorkSheet( plotter, &m_parent->Prj(), m_parent->GetTitleBlock(), pageInfo,
|
||||
aScreen->m_ScreenNumber, aScreen->m_NumberOfScreens,
|
||||
m_parent->GetScreenDesc(), aScreen->GetFileName(),
|
||||
plotter->GetColorMode() ? COLOR4D::UNSPECIFIED : COLOR4D::BLACK );
|
||||
plotter->GetColorMode() ?
|
||||
plotter->RenderSettings()->GetLayerColor( LAYER_SCHEMATIC_WORKSHEET ) :
|
||||
COLOR4D::BLACK );
|
||||
}
|
||||
|
||||
aScreen->Plot( plotter );
|
||||
|
|
|
@ -162,7 +162,9 @@ void DIALOG_PLOT_SCHEMATIC::plotOneSheetPDF( PLOTTER* aPlotter,
|
|||
m_parent->GetPageSettings(), aScreen->m_ScreenNumber,
|
||||
aScreen->m_NumberOfScreens, m_parent->GetScreenDesc(),
|
||||
aScreen->GetFileName(),
|
||||
aPlotter->GetColorMode() ? COLOR4D::UNSPECIFIED : COLOR4D::BLACK );
|
||||
aPlotter->GetColorMode() ?
|
||||
aPlotter->RenderSettings()->GetLayerColor( LAYER_SCHEMATIC_WORKSHEET ) :
|
||||
COLOR4D::BLACK );
|
||||
}
|
||||
|
||||
aScreen->Plot( aPlotter );
|
||||
|
|
|
@ -167,7 +167,9 @@ bool DIALOG_PLOT_SCHEMATIC::plotOneSheetPS( const wxString& aFileName,
|
|||
PlotWorkSheet( plotter, &aScreen->Prj(), m_parent->GetTitleBlock(), aPageInfo,
|
||||
aScreen->m_ScreenNumber, aScreen->m_NumberOfScreens,
|
||||
m_parent->GetScreenDesc(), aScreen->GetFileName(),
|
||||
plotter->GetColorMode() ? COLOR4D::UNSPECIFIED : COLOR4D::BLACK );
|
||||
plotter->GetColorMode() ?
|
||||
plotter->RenderSettings()->GetLayerColor( LAYER_SCHEMATIC_WORKSHEET ) :
|
||||
COLOR4D::BLACK );
|
||||
}
|
||||
|
||||
aScreen->Plot( plotter );
|
||||
|
|
|
@ -141,7 +141,9 @@ bool DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG( const wxString& aFileName,
|
|||
PlotWorkSheet( plotter, &aScreen->Prj(), m_parent->GetTitleBlock(), pageInfo,
|
||||
aScreen->m_ScreenNumber, aScreen->m_NumberOfScreens,
|
||||
m_parent->GetScreenDesc(), aScreen->GetFileName(),
|
||||
plotter->GetColorMode() ? COLOR4D::UNSPECIFIED : COLOR4D::BLACK );
|
||||
plotter->GetColorMode() ?
|
||||
plotter->RenderSettings()->GetLayerColor( LAYER_SCHEMATIC_WORKSHEET ) :
|
||||
COLOR4D::BLACK );
|
||||
}
|
||||
|
||||
aScreen->Plot( plotter );
|
||||
|
|
Loading…
Reference in New Issue