20#ifndef LIBREPCB_EDITOR_CMDBOARDPOLYGONADD_H
21#define LIBREPCB_EDITOR_CMDBOARDPOLYGONADD_H
26#include "../../undocommand.h"
The BI_Polygon class.
Definition bi_polygon.h:46
The Board class represents a PCB of a project and is always part of a circuit.
Definition board.h:73
The CmdBoardPolygonAdd class.
Definition cmdboardpolygonadd.h:47
void performRedo() override
Redo the command.
Definition cmdboardpolygonadd.cpp:62
CmdBoardPolygonAdd(const CmdBoardPolygonAdd &other)=delete
void performUndo() override
Undo the command.
Definition cmdboardpolygonadd.cpp:58
~CmdBoardPolygonAdd() noexcept
Definition cmdboardpolygonadd.cpp:46
Board & mBoard
Definition cmdboardpolygonadd.h:66
BI_Polygon & mPolygon
Definition cmdboardpolygonadd.h:67
CmdBoardPolygonAdd()=delete
bool performExecute() override
Execute the command the first time.
Definition cmdboardpolygonadd.cpp:53
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76