KiCad PCB EDA Suite
gerbview.h File Reference
#include <vector>
#include <set>

Go to the source code of this file.

Macros

#define CURSEUR_ON_GRILLE   0
 
#define CURSEUR_OFF_GRILLE   1
 
#define GERBER_BUFZ   4000
 size of single line of a text from a gerber file. More...
 

Enumerations

enum  Gerb_Interpolation {
  GERB_INTERPOL_LINEAR_1X = 0, GERB_INTERPOL_LINEAR_10X, GERB_INTERPOL_LINEAR_01X, GERB_INTERPOL_LINEAR_001X,
  GERB_INTERPOL_ARC_NEG, GERB_INTERPOL_ARC_POS
}
 
enum  Gerb_GCommand {
  GC_MOVE = 0, GC_LINEAR_INTERPOL_1X = 1, GC_CIRCLE_NEG_INTERPOL = 2, GC_CIRCLE_POS_INTERPOL = 3,
  GC_COMMENT = 4, GC_LINEAR_INTERPOL_10X = 10, GC_LINEAR_INTERPOL_0P1X = 11, GC_LINEAR_INTERPOL_0P01X = 12,
  GC_TURN_ON_POLY_FILL = 36, GC_TURN_OFF_POLY_FILL = 37, GC_SELECT_TOOL = 54, GC_PHOTO_MODE = 55,
  GC_SPECIFY_INCHES = 70, GC_SPECIFY_MILLIMETERS = 71, GC_TURN_OFF_360_INTERPOL = 74, GC_TURN_ON_360_INTERPOL = 75,
  GC_SPECIFY_ABSOLUES_COORD = 90, GC_SPECIFY_RELATIVEES_COORD = 91
}
 
enum  Gerb_Analyse_Cmd { CMD_IDLE = 0, END_BLOCK, ENTER_RS274X_CMD }
 

Variables

const wxChar * g_GerberPageSizeList [8]
 List of page sizes. More...
 
enum Gerb_Interpolation kiface
 

Macro Definition Documentation

#define CURSEUR_OFF_GRILLE   1

Definition at line 33 of file gerbview.h.

#define CURSEUR_ON_GRILLE   0

Definition at line 32 of file gerbview.h.

#define GERBER_BUFZ   4000

size of single line of a text from a gerber file.

warning: some files can have very long lines, so the buffer must be large.

Definition at line 39 of file gerbview.h.

Referenced by GERBER_FILE_IMAGE::ExecuteRS274XCommand(), GERBER_FILE_IMAGE::GetEndOfBlock(), GERBER_FILE_IMAGE::GetNextLine(), GERBER_FILE_IMAGE::LoadGerberFile(), and GERBER_FILE_IMAGE::ReadRS274XCommand().

Enumeration Type Documentation

Enumerator
CMD_IDLE 
END_BLOCK 
ENTER_RS274X_CMD 

Definition at line 82 of file gerbview.h.

83 {
84  CMD_IDLE = 0,
85  END_BLOCK,
87 };
Enumerator
GC_MOVE 
GC_LINEAR_INTERPOL_1X 
GC_CIRCLE_NEG_INTERPOL 
GC_CIRCLE_POS_INTERPOL 
GC_COMMENT 
GC_LINEAR_INTERPOL_10X 
GC_LINEAR_INTERPOL_0P1X 
GC_LINEAR_INTERPOL_0P01X 
GC_TURN_ON_POLY_FILL 
GC_TURN_OFF_POLY_FILL 
GC_SELECT_TOOL 
GC_PHOTO_MODE 
GC_SPECIFY_INCHES 
GC_SPECIFY_MILLIMETERS 
GC_TURN_OFF_360_INTERPOL 
GC_TURN_ON_360_INTERPOL 
GC_SPECIFY_ABSOLUES_COORD 
GC_SPECIFY_RELATIVEES_COORD 

Definition at line 59 of file gerbview.h.

Enumerator
GERB_INTERPOL_LINEAR_1X 
GERB_INTERPOL_LINEAR_10X 
GERB_INTERPOL_LINEAR_01X 
GERB_INTERPOL_LINEAR_001X 
GERB_INTERPOL_ARC_NEG 
GERB_INTERPOL_ARC_POS 

Definition at line 47 of file gerbview.h.

Variable Documentation

enum Gerb_Interpolation kiface