KiCad PCB EDA Suite
pcb_actions.h File Reference
#include <tool/tool_action.h>
#include <tool/actions.h>
#include <core/optional.h>

Go to the source code of this file.

Classes

class  PCB_ACTIONS
 PCB_ACTIONS. More...
 

Enumerations

enum  ZONE_MODE { ZONE_MODE::ADD, ZONE_MODE::CUTOUT, ZONE_MODE::SIMILAR, ZONE_MODE::GRAPHIC_POLYGON }
 

Enumeration Type Documentation

◆ ZONE_MODE

enum ZONE_MODE
strong
Enumerator
ADD 

Add a new zone/keepout with fresh settings.

CUTOUT 

Make a cutout to an existing zone.

SIMILAR 

Add a new zone with the same settings as an existing one.

GRAPHIC_POLYGON 

Definition at line 36 of file pcb_actions.h.

37 {
38  ADD,
39  CUTOUT,
40  SIMILAR,
42 };
Add a new zone with the same settings as an existing one.
Make a cutout to an existing zone.