20#ifndef LIBREPCB_EDITOR_BGI_POLYGON_H
21#define LIBREPCB_EDITOR_BGI_POLYGON_H
38class IF_GraphicsLayerProvider;
39class PolygonGraphicsItem;
63 QPainterPath
shape() const noexcept override;
71 const QVariant& value) noexcept override;
The BI_Polygon class.
Definition: bi_polygon.h:46
The Polygon class.
Definition: polygon.h:45
The BGI_Polygon class.
Definition: bgi_polygon.h:48
QVariant itemChange(GraphicsItemChange change, const QVariant &value) noexcept override
Definition: bgi_polygon.cpp:70
QScopedPointer< PolygonGraphicsItem > mGraphicsItem
Definition: bgi_polygon.h:78
BGI_Polygon(const BGI_Polygon &other)=delete
void updateEditable() noexcept
Definition: bgi_polygon.cpp:117
QPainterPath shape() const noexcept override
Definition: bgi_polygon.cpp:66
const PolygonGraphicsItem & getGraphicsItem() const noexcept
Definition: bgi_polygon.h:58
void polygonEdited(const BI_Polygon &obj, BI_Polygon::Event event) noexcept
Definition: bgi_polygon.cpp:82
virtual ~BGI_Polygon() noexcept
Definition: bgi_polygon.cpp:59
BI_Polygon & getPolygon() noexcept
Definition: bgi_polygon.h:57
BI_Polygon & mPolygon
Definition: bgi_polygon.h:76
BI_Polygon::OnEditedSlot mOnEditedSlot
Definition: bgi_polygon.h:81
Polygon mPolygonObj
Definition: bgi_polygon.h:77
void updateZValue() noexcept
Definition: bgi_polygon.cpp:111
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition: graphicslayer.h:111
The PolygonGraphicsItem class.
Definition: polygongraphicsitem.h:48
Definition: occmodel.cpp:77