20#ifndef LIBREPCB_EDITOR_BGI_STROKETEXT_H
21#define LIBREPCB_EDITOR_BGI_STROKETEXT_H
39class IF_GraphicsLayerProvider;
40class LineGraphicsItem;
41class OriginCrossGraphicsItem;
42class PrimitivePathGraphicsItem;
67 virtual QPainterPath
shape() const noexcept override;
77 virtual QVariant
itemChange(GraphicsItemChange change,
78 const QVariant& value) noexcept override;
The BI_StrokeText class.
Definition: bi_stroketext.h:49
The BGI_Device class.
Definition: bgi_device.h:57
The BGI_StrokeText class.
Definition: bgi_stroketext.h:51
QScopedPointer< PrimitivePathGraphicsItem > mPathGraphicsItem
Definition: bgi_stroketext.h:91
QScopedPointer< OriginCrossGraphicsItem > mOriginCrossGraphicsItem
Definition: bgi_stroketext.h:92
void updatePaths() noexcept
Definition: bgi_stroketext.cpp:195
void updatePosition() noexcept
Definition: bgi_stroketext.cpp:160
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value) noexcept override
Definition: bgi_stroketext.cpp:90
void strokeTextEdited(const BI_StrokeText &obj, BI_StrokeText::Event event) noexcept
Definition: bgi_stroketext.cpp:113
void deviceGraphicsItemEdited(const BGI_Device &obj, BGI_Device::Event event) noexcept
Definition: bgi_stroketext.cpp:143
BI_StrokeText & mText
Definition: bgi_stroketext.h:88
BI_StrokeText & getStrokeText() noexcept
Definition: bgi_stroketext.h:61
const std::weak_ptr< BGI_Device > & getDeviceGraphicsItem() noexcept
Definition: bgi_stroketext.h:62
QScopedPointer< LineGraphicsItem > mAnchorGraphicsItem
Definition: bgi_stroketext.h:93
BGI_StrokeText(const BGI_StrokeText &other)=delete
void updateAnchorLayer() noexcept
Definition: bgi_stroketext.cpp:200
virtual QPainterPath shape() const noexcept override
Definition: bgi_stroketext.cpp:84
virtual ~BGI_StrokeText() noexcept
Definition: bgi_stroketext.cpp:77
void updateStrokeWidth() noexcept
Definition: bgi_stroketext.cpp:191
void updateAnchorLine() noexcept
Definition: bgi_stroketext.cpp:210
const IF_GraphicsLayerProvider & mLayerProvider
Definition: bgi_stroketext.h:90
std::weak_ptr< BGI_Device > mDeviceGraphicsItem
Definition: bgi_stroketext.h:89
void updateTransform() noexcept
Definition: bgi_stroketext.cpp:164
BI_StrokeText::OnEditedSlot mOnEditedSlot
Definition: bgi_stroketext.h:96
BGI_Device::OnEditedSlot mOnDeviceEditedSlot
Definition: bgi_stroketext.h:97
void updateLayer() noexcept
Definition: bgi_stroketext.cpp:171
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition: graphicslayer.h:111
The LineGraphicsItem class.
Definition: linegraphicsitem.h:50
The OriginCrossGraphicsItem class.
Definition: origincrossgraphicsitem.h:50
The PrimitivePathGraphicsItem class.
Definition: primitivepathgraphicsitem.h:50
Definition: occmodel.cpp:77