LibrePCB Developers Documentation
Loading...
Searching...
No Matches
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 std::optional< Ratio > &ratio=std::nullopt) noexcept
 
 StrokeTextSpacing (const StrokeTextSpacing &other) noexcept
 
 ~StrokeTextSpacing () noexcept
 
const std::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

std::optional< RatiomRatio
 nullopt means automatic (from font)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ StrokeTextSpacing() [1/2]

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

◆ StrokeTextSpacing() [2/2]

StrokeTextSpacing ( const StrokeTextSpacing other)
noexcept

◆ ~StrokeTextSpacing()

~StrokeTextSpacing ( )
noexcept

Member Function Documentation

◆ getRatio()

const std::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

std::optional<Ratio> mRatio
private

nullopt means automatic (from font)


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