LibrePCB Developers Documentation
StrokeTextPathBuilder Class Referencefinal

The StrokeTextPathBuilder class. More...

#include <stroketextpathbuilder.h>

+ Collaboration diagram for StrokeTextPathBuilder:

Public Member Functions

 StrokeTextPathBuilder ()=delete
 
 StrokeTextPathBuilder (const StrokeTextPathBuilder &other)=delete
 
 ~StrokeTextPathBuilder ()=delete
 
StrokeTextPathBuilderoperator= (const StrokeTextPathBuilder &rhs)=delete
 

Static Public Member Functions

static QVector< Pathbuild (const StrokeFont &font, const StrokeTextSpacing &letterSpacing, const StrokeTextSpacing &lineSpacing, const PositiveLength &height, const UnsignedLength &strokeWidth, const Alignment &align, const Angle &rotation, bool autoRotate, const QString &text) noexcept
 
static Length calcLetterSpacing (const StrokeFont &font, const StrokeTextSpacing &spacing, const PositiveLength &height, const UnsignedLength &strokeWidth) noexcept
 
static Length calcLineSpacing (const StrokeFont &font, const StrokeTextSpacing &spacing, const PositiveLength &height, const UnsignedLength &strokeWidth) noexcept
 

Detailed Description

Constructor & Destructor Documentation

◆ StrokeTextPathBuilder() [1/2]

◆ StrokeTextPathBuilder() [2/2]

StrokeTextPathBuilder ( const StrokeTextPathBuilder other)
delete

◆ ~StrokeTextPathBuilder()

~StrokeTextPathBuilder ( )
delete

Member Function Documentation

◆ build()

QVector< Path > build ( const StrokeFont font,
const StrokeTextSpacing letterSpacing,
const StrokeTextSpacing lineSpacing,
const PositiveLength height,
const UnsignedLength strokeWidth,
const Alignment align,
const Angle rotation,
bool  autoRotate,
const QString &  text 
)
staticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calcLetterSpacing()

Length calcLetterSpacing ( const StrokeFont font,
const StrokeTextSpacing spacing,
const PositiveLength height,
const UnsignedLength strokeWidth 
)
staticnoexcept

◆ calcLineSpacing()

Length calcLineSpacing ( const StrokeFont font,
const StrokeTextSpacing spacing,
const PositiveLength height,
const UnsignedLength strokeWidth 
)
staticnoexcept

◆ operator=()

StrokeTextPathBuilder & operator= ( const StrokeTextPathBuilder rhs)
delete

The documentation for this class was generated from the following files: