KiCad PCB EDA Suite
Loading...
Searching...
No Matches
export_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) 2012 Jean-Pierre Charras, jp.charras at wanadoo.fr
5
* Copyright (C) 1992-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
21
#ifndef PCB_PLOT_SVG_H
22
#define PCB_PLOT_SVG_H
23
24
struct
PCB_PLOT_SVG_OPTIONS
25
{
26
wxString
m_outputFile
;
27
wxString
m_colorTheme
;
28
29
bool
m_mirror
;
30
bool
m_blackAndWhite
;
31
bool
m_plotFrame
;
32
bool
m_negative
;
33
34
int
m_pageSizeMode
;
35
36
LSEQ
m_printMaskLayer
;
37
38
// How holes in pads/vias are plotted:
39
// 0 = no hole, 1 = small shape, 2 = actual shape
40
// Not used in some plotters (Gerber)
41
int
m_drillShapeOption
;
42
};
43
44
class
EXPORT_SVG
45
{
46
public
:
47
static
bool
Plot
(
BOARD
* aBoard,
const
PCB_PLOT_SVG_OPTIONS
& aSvgPlotOptions );
48
};
49
50
#endif
BOARD
Information pertinent to a Pcbnew printed circuit board.
Definition:
board.h:276
EXPORT_SVG
Definition:
export_svg.h:45
EXPORT_SVG::Plot
static bool Plot(BOARD *aBoard, const PCB_PLOT_SVG_OPTIONS &aSvgPlotOptions)
Definition:
export_svg.cpp:30
LSEQ
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
Definition:
layer_ids.h:513
PCB_PLOT_SVG_OPTIONS
Definition:
export_svg.h:25
PCB_PLOT_SVG_OPTIONS::m_plotFrame
bool m_plotFrame
Definition:
export_svg.h:31
PCB_PLOT_SVG_OPTIONS::m_drillShapeOption
int m_drillShapeOption
Definition:
export_svg.h:41
PCB_PLOT_SVG_OPTIONS::m_blackAndWhite
bool m_blackAndWhite
Definition:
export_svg.h:30
PCB_PLOT_SVG_OPTIONS::m_printMaskLayer
LSEQ m_printMaskLayer
Definition:
export_svg.h:36
PCB_PLOT_SVG_OPTIONS::m_negative
bool m_negative
Definition:
export_svg.h:32
PCB_PLOT_SVG_OPTIONS::m_colorTheme
wxString m_colorTheme
Definition:
export_svg.h:27
PCB_PLOT_SVG_OPTIONS::m_outputFile
wxString m_outputFile
Definition:
export_svg.h:26
PCB_PLOT_SVG_OPTIONS::m_mirror
bool m_mirror
Definition:
export_svg.h:29
PCB_PLOT_SVG_OPTIONS::m_pageSizeMode
int m_pageSizeMode
Definition:
export_svg.h:34
src
pcbnew
exporters
export_svg.h
Generated on Wed Nov 29 2023 00:04:28 for KiCad PCB EDA Suite by
1.9.5