20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICPOLYGONADD_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICPOLYGONADD_H
26#include "../../undocommand.h"
The SI_Polygon class represents a polygon in a schematic.
Definition si_polygon.h:47
The CmdSchematicPolygonAdd class.
Definition cmdschematicpolygonadd.h:47
void performRedo() override
Redo the command.
Definition cmdschematicpolygonadd.cpp:60
SI_Polygon & mPolygon
Definition cmdschematicpolygonadd.h:69
CmdSchematicPolygonAdd(const CmdSchematicPolygonAdd &other)=delete
void performUndo() override
Undo the command.
Definition cmdschematicpolygonadd.cpp:56
CmdSchematicPolygonAdd()=delete
bool performExecute() override
Execute the command the first time.
Definition cmdschematicpolygonadd.cpp:51
~CmdSchematicPolygonAdd() noexcept
Definition cmdschematicpolygonadd.cpp:44
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76