KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dcode.h File Reference
#include <vector>
#include <gal/color4d.h>
#include <geometry/shape_poly_set.h>

Go to the source code of this file.

Classes

class  D_CODE
 A gerber DCODE (also called Aperture) definition. More...
 

Macros

#define FIRST_DCODE   10
 
#define LAST_DCODE   10000
 
#define TOOLS_MAX_COUNT   (LAST_DCODE + 1)
 

Enumerations

enum  APERTURE_T {
  APT_CIRCLE = 'C' , APT_RECT = 'R' , APT_OVAL = '0' , APT_POLYGON = 'P' ,
  APT_MACRO = 'M'
}
 The set of all gerber aperture types allowed from ADD dcode command, like ADD11C,0.304800*% to add a DCode number 11, circle shape. More...
 
enum  APERTURE_DEF_HOLETYPE { APT_DEF_NO_HOLE = 0 , APT_DEF_ROUND_HOLE , APT_DEF_RECT_HOLE }
 

Macro Definition Documentation

◆ FIRST_DCODE

#define FIRST_DCODE   10

Definition at line 69 of file dcode.h.

◆ LAST_DCODE

#define LAST_DCODE   10000

Definition at line 70 of file dcode.h.

◆ TOOLS_MAX_COUNT

#define TOOLS_MAX_COUNT   (LAST_DCODE + 1)

Definition at line 71 of file dcode.h.

Enumeration Type Documentation

◆ APERTURE_DEF_HOLETYPE

Enumerator
APT_DEF_NO_HOLE 
APT_DEF_ROUND_HOLE 
APT_DEF_RECT_HOLE 

Definition at line 60 of file dcode.h.

◆ APERTURE_T

enum APERTURE_T

The set of all gerber aperture types allowed from ADD dcode command, like ADD11C,0.304800*% to add a DCode number 11, circle shape.

Enumerator
APT_CIRCLE 
APT_RECT 
APT_OVAL 
APT_POLYGON 
APT_MACRO 

Definition at line 48 of file dcode.h.