LibrePCB Developers Documentation
|
The BI_StrokeText class. More...
#include <bi_stroketext.h>
Public Types | |
enum class | Event |
typedef Slot< BI_StrokeText, Event > | OnEditedSlot |
Public Member Functions | |
BI_StrokeText ()=delete | |
BI_StrokeText (const BI_StrokeText &other)=delete | |
BI_StrokeText (Board &board, const BoardStrokeTextData &data) | |
~BI_StrokeText () noexcept | |
const BoardStrokeTextData & | getData () const noexcept |
const StrokeFont & | getFont () const noexcept |
const QString & | getSubstitutedText () const noexcept |
const QVector< Path > & | getPaths () const noexcept |
bool | setLayer (const Layer &layer) noexcept |
bool | setText (const QString &text) noexcept |
bool | setPosition (const Point &pos) noexcept |
bool | setRotation (const Angle &rotation) noexcept |
bool | setHeight (const PositiveLength &height) noexcept |
bool | setStrokeWidth (const UnsignedLength &strokeWidth) noexcept |
bool | setLetterSpacing (const StrokeTextSpacing &spacing) noexcept |
bool | setLineSpacing (const StrokeTextSpacing &spacing) noexcept |
bool | setAlign (const Alignment &align) noexcept |
bool | setMirrored (bool mirrored) noexcept |
bool | setAutoRotate (bool autoRotate) noexcept |
bool | setLocked (bool locked) noexcept |
BI_Device * | getDevice () const noexcept |
void | setDevice (BI_Device *device) noexcept |
void | addToBoard () override |
void | removeFromBoard () override |
BI_StrokeText & | operator= (const BI_StrokeText &rhs)=delete |
Public Member Functions inherited from BI_Base | |
BI_Base ()=delete | |
BI_Base (const BI_Base &other)=delete | |
BI_Base (Board &board) noexcept | |
virtual | ~BI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Board & | getBoard () const noexcept |
virtual bool | isAddedToBoard () const noexcept |
virtual void | addToBoard () |
virtual void | removeFromBoard () |
BI_Base & | operator= (const BI_Base &rhs)=delete |
Public Attributes | |
Signal< BI_StrokeText, Event > | onEdited |
Private Member Functions | |
void | updateText () noexcept |
void | updatePaths () noexcept |
void | invalidatePlanes (const Layer &layer) noexcept |
Private Attributes | |
BoardStrokeTextData | mData |
const StrokeFont & | mFont |
BI_Device * | mDevice |
QString | mSubstitutedText |
QVector< Path > | mPaths |
Without transformation (position/rotation/mirror) More... | |
Additional Inherited Members | |
Protected Attributes inherited from BI_Base | |
Board & | mBoard |
The BI_StrokeText class.
typedef Slot<BI_StrokeText, Event> OnEditedSlot |
|
strong |
|
delete |
|
delete |
BI_StrokeText | ( | Board & | board, |
const BoardStrokeTextData & | data | ||
) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
overridevirtual |
Reimplemented from BI_Base.
|
overridevirtual |
Reimplemented from BI_Base.
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Signal<BI_StrokeText, Event> onEdited |
|
private |
|
private |
|
private |
|
private |
|
private |
Without transformation (position/rotation/mirror)