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
 Gather all the actions that are shared by tools. 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 37 of file pcb_actions.h.

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