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
17 * along with this program. If not, see <https://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 enum class UNITS
37 {
41 };
42
43 wxString m_inputFile;
44 int m_dpi = 300;
45 int m_width = 0;
46 int m_height = 0;
47 bool m_antialias = true;
49 bool m_strict = false;
50
51 // Viewport override. When both window dimensions are > 0, the viewport is
52 // defined by origin + window rather than the gerber bounding box.
53 // Values are in the units specified by m_units.
55 double m_originX = 0.0;
56 double m_originY = 0.0;
57 double m_windowWidth = 0.0;
58 double m_windowHeight = 0.0;
59
62};
63
64#endif
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition job.cpp:26
#define KICOMMON_API
Definition kicommon.h:27