Fix HPGL color mode being set.
This commit is contained in:
parent
01e88d33aa
commit
57bc443f0b
|
@ -766,7 +766,6 @@ bool SCH_PLOTTER::plotOneSheetHpgl( const wxString& aFileName,
|
||||||
plotter->SetPageSettings( aPageInfo );
|
plotter->SetPageSettings( aPageInfo );
|
||||||
plotter->SetRenderSettings( aRenderSettings );
|
plotter->SetRenderSettings( aRenderSettings );
|
||||||
plotter->RenderSettings()->LoadColors( m_colorSettings );
|
plotter->RenderSettings()->LoadColors( m_colorSettings );
|
||||||
plotter->SetColorMode( !aPlotSettings.m_blackAndWhite );
|
|
||||||
plotter->SetViewport( aPlot0ffset, schIUScale.IU_PER_MILS/10, aScale, false );
|
plotter->SetViewport( aPlot0ffset, schIUScale.IU_PER_MILS/10, aScale, false );
|
||||||
|
|
||||||
// TODO this could be configurable
|
// TODO this could be configurable
|
||||||
|
|
|
@ -68,6 +68,9 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual bool EndPlot() override;
|
virtual bool EndPlot() override;
|
||||||
|
|
||||||
|
/// HPGL doesn't handle color
|
||||||
|
virtual void SetColorMode( bool aColorMode ) override {};
|
||||||
|
|
||||||
/// HPGL doesn't handle line thickness or color
|
/// HPGL doesn't handle line thickness or color
|
||||||
virtual void SetCurrentLineWidth( int width, void* aData = nullptr ) override
|
virtual void SetCurrentLineWidth( int width, void* aData = nullptr ) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue