20#ifndef LIBREPCB_EDITOR_PRIMITIVEFOOTPRINTPADGRAPHICSITEM_H
21#define LIBREPCB_EDITOR_PRIMITIVEFOOTPRINTPADGRAPHICSITEM_H
46class OriginCrossGraphicsItem;
47class PrimitivePathGraphicsItem;
63 bool originCrossVisible,
64 QGraphicsItem* parent =
nullptr) noexcept;
71 void setText(const QString& text) noexcept;
73 void setLayer(const QString& layerName) noexcept;
75 const
Length& clearance) noexcept;
78 QPainterPath
shape() const noexcept override;
87 virtual QVariant
itemChange(GraphicsItemChange change,
88 const QVariant& value) noexcept override;
100 std::shared_ptr<GraphicsLayer>
layer;
103 std::shared_ptr<PrimitivePathGraphicsItem>
item;
106 QMap<std::shared_ptr<GraphicsLayer>, QPainterPath>
mShapes;
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:78
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:83
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:79
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition: graphicslayer.h:53
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition: graphicslayer.h:111
The OriginCrossGraphicsItem class.
Definition: origincrossgraphicsitem.h:50
The PrimitivePathGraphicsItem class.
Definition: primitivepathgraphicsitem.h:50
Definition: occmodel.cpp:77