KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_svg.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 The 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
18
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19
*/
20
21
#pragma once
22
23
#include <
kicommon.h
>
24
#include <
layer_ids.h
>
25
#include <
lseq.h
>
26
#include <wx/string.h>
27
#include <
jobs/job_export_pcb_plot.h
>
28
#include "
job.h
"
29
30
31
#define SVG_PRECISION_MIN 3U
32
#define SVG_PRECISION_MAX 6U
33
#define SVG_PRECISION_DEFAULT 4
34
35
36
class
KICOMMON_API
JOB_EXPORT_PCB_SVG
:
public
JOB_EXPORT_PCB_PLOT
37
{
38
public
:
39
JOB_EXPORT_PCB_SVG
();
40
wxString
GetDefaultDescription
()
const override
;
41
wxString
GetSettingsDialogTitle
()
const override
;
42
43
public
:
44
bool
m_fitPageToBoard
;
45
unsigned
int
m_precision
;
46
47
enum class
GEN_MODE
48
{
49
SINGLE
,
50
MULTI
51
};
52
53
GEN_MODE
m_genMode
;
54
};
JOB_EXPORT_PCB_PLOT::JOB_EXPORT_PCB_PLOT
JOB_EXPORT_PCB_PLOT(PLOT_FORMAT aFormat, const std::string &aType, bool aOutputIsDirectory)
JOB_EXPORT_PCB_SVG::m_genMode
GEN_MODE m_genMode
Definition
job_export_pcb_svg.h:53
JOB_EXPORT_PCB_SVG::GEN_MODE
GEN_MODE
Definition
job_export_pcb_svg.h:48
JOB_EXPORT_PCB_SVG::GEN_MODE::SINGLE
@ SINGLE
Definition
job_export_pcb_svg.h:49
JOB_EXPORT_PCB_SVG::GEN_MODE::MULTI
@ MULTI
Definition
job_export_pcb_svg.h:50
JOB_EXPORT_PCB_SVG::m_fitPageToBoard
bool m_fitPageToBoard
Definition
job_export_pcb_svg.h:44
JOB_EXPORT_PCB_SVG::m_precision
unsigned int m_precision
Definition
job_export_pcb_svg.h:45
JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG
JOB_EXPORT_PCB_SVG()
JOB::GetDefaultDescription
virtual wxString GetDefaultDescription() const
Definition
job.cpp:74
JOB::GetSettingsDialogTitle
virtual wxString GetSettingsDialogTitle() const
Definition
job.cpp:80
job.h
job_export_pcb_plot.h
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition
kicommon.h:27
layer_ids.h
lseq.h
src
common
jobs
job_export_pcb_svg.h
Generated on Tue Oct 27 2026 00:06:19 for KiCad PCB EDA Suite by
1.13.2