LibrePCB Developers Documentation
StrokeTextSpacing Class Referencefinal

Represents the letter- or line spacing configuration of a stroke text. More...

#include <stroketextspacing.h>

+ Collaboration diagram for StrokeTextSpacing:

Public Member Functions

 StrokeTextSpacing (const tl::optional< Ratio > &ratio=tl::nullopt) noexcept
 
 StrokeTextSpacing (const StrokeTextSpacing &other) noexcept
 
 ~StrokeTextSpacing () noexcept
 
const tl::optional< Ratio > & getRatio () const noexcept
 
bool operator== (const StrokeTextSpacing &rhs) const noexcept
 
bool operator!= (const StrokeTextSpacing &rhs) const noexcept
 
StrokeTextSpacingoperator= (const StrokeTextSpacing &rhs) noexcept
 

Private Attributes

tl::optional< RatiomRatio
 nullopt means automatic (from font) More...
 

Detailed Description

Represents the letter- or line spacing configuration of a stroke text.

Constructor & Destructor Documentation

◆ StrokeTextSpacing() [1/2]

StrokeTextSpacing ( const tl::optional< Ratio > &  ratio = tl::nullopt)
noexcept

◆ StrokeTextSpacing() [2/2]

StrokeTextSpacing ( const StrokeTextSpacing other)
noexcept

◆ ~StrokeTextSpacing()

~StrokeTextSpacing ( )
noexcept

Member Function Documentation

◆ getRatio()

const tl::optional< Ratio > & getRatio ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator==()

bool operator== ( const StrokeTextSpacing rhs) const
noexcept

◆ operator!=()

bool operator!= ( const StrokeTextSpacing rhs) const
inlinenoexcept

◆ operator=()

StrokeTextSpacing & operator= ( const StrokeTextSpacing rhs)
noexcept

Member Data Documentation

◆ mRatio

tl::optional<Ratio> mRatio
private

nullopt means automatic (from font)


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