KiCad PCB EDA Suite
gerber_file_image.h File Reference
#include <vector>
#include <set>
#include <dcode.h>
#include <gerber_draw_item.h>
#include <am_primitive.h>
#include <gbr_netlist_metadata.h>

Go to the source code of this file.

Classes

class  GERBER_LAYER
 
class  GERBER_FILE_IMAGE
 Class GERBER_FILE_IMAGE holds the Image data and parameters for one gerber file and layer parameters (TODO: move them in GERBER_LAYER class. More...
 

Macros

#define IsNumber(x)
 

Enumerations

enum  LAST_EXTRA_ARC_DATA_TYPE { ARC_INFO_TYPE_NONE, ARC_INFO_TYPE_CENTER, ARC_INFO_TYPE_RADIUS }
 

Macro Definition Documentation

#define IsNumber (   x)
Value:
( ( ( (x) >= '0' ) && ( (x) <='9' ) ) \
|| ( (x) == '-' ) || ( (x) == '+' ) || ( (x) == '.' ) )

Definition at line 37 of file gerber_file_image.h.

Referenced by GERBER_FILE_IMAGE::DCodeNumber(), GERBER_FILE_IMAGE::GCodeNumber(), GERBER_FILE_IMAGE::ReadIJCoord(), and GERBER_FILE_IMAGE::ReadXYCoord().

Enumeration Type Documentation

Enumerator
ARC_INFO_TYPE_NONE 
ARC_INFO_TYPE_CENTER 
ARC_INFO_TYPE_RADIUS 

Definition at line 71 of file gerber_file_image.h.

72 {
74  ARC_INFO_TYPE_CENTER, // last info is a IJ command: arc center is given
75  ARC_INFO_TYPE_RADIUS, // last info is a A command: arc radius is given
76 };