KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_gerber_export_png.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 The KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or (at your
9 * option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef JOB_GERBER_EXPORT_PNG_H
21#define JOB_GERBER_EXPORT_PNG_H
22
23#include <kicommon.h>
24#include "job.h"
25
32{
33public:
35
36 wxString GetDefaultDescription() const override;
37 wxString GetSettingsDialogTitle() const override;
38
39 enum class UNITS
40 {
44 };
45
46 wxString m_inputFile;
47 int m_dpi = 300;
48 int m_width = 0;
49 int m_height = 0;
50 bool m_antialias = true;
52 bool m_strict = false;
53
54 // Viewport override. When both window dimensions are > 0, the viewport is
55 // defined by origin + window rather than the gerber bounding box.
56 // Values are in the units specified by m_units.
58 double m_originX = 0.0;
59 double m_originY = 0.0;
60 double m_windowWidth = 0.0;
61 double m_windowHeight = 0.0;
62
65};
66
67#endif
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition job.cpp:26
virtual wxString GetDefaultDescription() const
Definition job.cpp:74
virtual wxString GetSettingsDialogTitle() const
Definition job.cpp:80
#define KICOMMON_API
Definition kicommon.h:27