20#ifndef LIBREPCB_EDITOR_PRIMITIVEFOOTPRINTPADGRAPHICSITEM_H
21#define LIBREPCB_EDITOR_PRIMITIVEFOOTPRINTPADGRAPHICSITEM_H
46class GraphicsLayerList;
47class OriginCrossGraphicsItem;
48class PrimitivePathGraphicsItem;
64 bool originCrossVisible,
65 QGraphicsItem* parent =
nullptr) noexcept;
72 void setText(const QString& text) noexcept;
74 void setLayer(const QString& layerName) noexcept;
76 const
Length& clearance) noexcept;
79 QPainterPath
shape() const noexcept override;
88 virtual QVariant
itemChange(GraphicsItemChange change,
89 const QVariant& value) noexcept override;
101 std::shared_ptr<const GraphicsLayer>
layer;
104 std::shared_ptr<PrimitivePathGraphicsItem>
item;
107 QMap<std::shared_ptr<const GraphicsLayer>, QPainterPath>
mShapes;
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition angle.h:76
The Layer class provides all supported geometry layers.
Definition layer.h:42
The Length class is used to represent a length (for example 12.75 millimeters)
Definition length.h:82
The PadGeometry class describes the shape of a pad.
Definition padgeometry.h:46
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The GraphicsLayerList class.
Definition graphicslayerlist.h:48
The OriginCrossGraphicsItem class.
Definition origincrossgraphicsitem.h:50
The PrimitivePathGraphicsItem class.
Definition primitivepathgraphicsitem.h:50
Definition occmodel.cpp:77