KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_sch_plot.h
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) 2022 Mark Roszko <[email protected]>
5 * Copyright (C) 1992-2022 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
21#ifndef JOB_EXPORT_SCH_PLOT_H
22#define JOB_EXPORT_SCH_PLOT_H
23
24#include <vector>
25#include <kicommon.h>
26#include <wx/string.h>
27#include "job.h"
28
29
31{
36};
37
38
40{
41 DEFAULT = 0,
42 SIZE_A5,
43 SIZE_A4,
44 SIZE_A3,
45 SIZE_A2,
46 SIZE_A1,
47 SIZE_A0,
48 SIZE_A,
49 SIZE_B,
50 SIZE_C,
51 SIZE_D,
52 SIZE_E,
53};
54
55
56enum class JOB_PAGE_SIZE
57{
61};
62
63
65{
66 HPGL,
67 GERBER,
68 POST,
69 DXF,
70 PDF,
71 SVG
72};
73
74
76{
77public:
78 JOB_EXPORT_SCH_PLOT( bool aIsCli, SCH_PLOT_FORMAT aPlotFormat, wxString aFilename );
79
81 wxString m_filename;
83
86 std::vector<wxString> m_plotPages;
87
91 double m_HPGLPenSize; // for HPGL format only: pen size
94 wxString m_theme;
95
97 wxString m_outputFile;
98
100};
101
102#endif
JOB_PAGE_SIZE m_pageSizeSelect
SCH_PLOT_FORMAT m_plotFormat
JOB_HPGL_PLOT_ORIGIN_AND_UNITS m_HPGLPlotOrigin
std::vector< wxString > m_plotPages
JOB_HPGL_PAGE_SIZE m_HPGLPaperSizeSelect
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
#define KICOMMON_API
Definition: kicommon.h:28