KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_sch_plot.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2023 Mark Roszko <[email protected]>
5 * Copyright (C) 2023 KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
22
23
24JOB_EXPORT_SCH_PLOT::JOB_EXPORT_SCH_PLOT( bool aIsCli, SCH_PLOT_FORMAT aPlotFormat, wxString aFilename ) :
25 JOB( "plot", aIsCli ),
26 m_plotFormat( aPlotFormat ),
27 m_filename( aFilename ),
28 m_drawingSheet(),
29 m_plotAll( true ),
30 m_plotDrawingSheet( true ),
31 m_blackAndWhite( false ),
32 m_pageSizeSelect( JOB_PAGE_SIZE::PAGE_SIZE_AUTO ),
33 m_useBackgroundColor( true ),
34 m_HPGLPenSize( 1.0 ),
35 m_HPGLPaperSizeSelect( JOB_HPGL_PAGE_SIZE::DEFAULT ),
36 m_PDFPropertyPopups( true ),
37 m_PDFMetadata( true ),
38 m_theme(),
39 m_outputDirectory(),
40 m_outputFile(),
42{
43}
JOB_EXPORT_SCH_PLOT(bool aIsCli, SCH_PLOT_FORMAT aPlotFormat, wxString aFilename)
An simple container class that lets us dispatch output jobs to kifaces.
Definition: job.h:32
SCH_PLOT_FORMAT
JOB_PAGE_SIZE
JOB_HPGL_PLOT_ORIGIN_AND_UNITS
JOB_HPGL_PAGE_SIZE
@ PAGE_SIZE_AUTO
Definition: sch_plotter.h:57