KiCad PCB EDA Suite
gerbview.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) 2007-2014 Jean-Pierre Charras jp.charras at wanadoo.fr
5  * Copyright (C) 1992-2014 KiCad Developers, see change_log.txt for contributors.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU 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, you may find one here:
19  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20  * or you may search the http://www.gnu.org website for the version 2 license,
21  * or you may write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23  */
24 
25 #ifndef GERBVIEW_H
26 #define GERBVIEW_H
27 
28 #include <vector>
29 #include <set>
30 
31 
32 #define CURSEUR_ON_GRILLE 0
33 #define CURSEUR_OFF_GRILLE 1
34 
39 #define GERBER_BUFZ 4000
40 
42 extern const wxChar* g_GerberPageSizeList[8];
43 
44 // number fo draw layers in Gerbview
45 #define GERBER_DRAWLAYERS_COUNT 32
46 
52 {
53  DCODES_VISIBLE = 1, // visible item id cannot be 0
54  // because this id is used as wxWidget id
56  NEGATIVE_OBJECTS_VISIBLE, // use the selected color to draw negative objects
57  // instaed of background color, to make them visible
59 };
60 
61 // Interpolation type
63 {
70 };
71 
72 
73 // Command Type (GCodes)
75 {
76  GC_MOVE = 0,
87  GC_PHOTO_MODE = 55, // can start a D03 flash command: redundant with D03
94 };
95 
96 
98 {
99  CMD_IDLE = 0,
102 };
103 
104 #endif // ifndef GERBVIEW_H
Gerb_Analyse_Cmd
Definition: gerbview.h:97
const wxChar * g_GerberPageSizeList[8]
List of page sizes.
Definition: gerbview.cpp:42
Gerb_GCommand
Definition: gerbview.h:74
Gerb_Interpolation
Definition: gerbview.h:62
GERBER_VISIBLE_ID
Enum GERBER_VISIBLE_ID is a set of visible GERBVIEW elements.
Definition: gerbview.h:51