20 #ifndef LIBREPCB_POLYGONGRAPHICSITEM_H
21 #define LIBREPCB_POLYGONGRAPHICSITEM_H
26 #include "../geometry/polygon.h"
37 class IF_GraphicsLayerProvider;
52 QGraphicsItem* parent =
nullptr) noexcept;
79 #endif // LIBREPCB_POLYGONGRAPHICSITEM_H
PolygonGraphicsItem()=delete
PolygonGraphicsItem & operator=(const PolygonGraphicsItem &rhs)=delete
The PolygonGraphicsItem class.
Definition: polygongraphicsitem.h:46
~PolygonGraphicsItem() noexcept
Definition: polygongraphicsitem.cpp:56
Polygon & getPolygon() noexcept
Definition: polygongraphicsitem.h:56
const IF_GraphicsLayerProvider & mLayerProvider
Definition: polygongraphicsitem.h:67
Event
Definition: polygon.h:54
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers...
Definition: graphicslayer.h:227
The PrimitivePathGraphicsItem class.
Definition: primitivepathgraphicsitem.h:44
void polygonEdited(const Polygon &polygon, Polygon::Event event) noexcept
Definition: polygongraphicsitem.cpp:63
Polygon::OnEditedSlot mOnEditedSlot
Definition: polygongraphicsitem.h:70
The Polygon class.
Definition: polygon.h:49
Polygon & mPolygon
Definition: polygongraphicsitem.h:66
void updateFillLayer() noexcept
Definition: polygongraphicsitem.cpp:88