LibrePCB Developers Documentation
StrokeFontPool Class Referencefinal

The StrokeFontPool class. More...

#include <strokefontpool.h>

+ Collaboration diagram for StrokeFontPool:

Public Member Functions

 StrokeFontPool (const FileSystem &directory) noexcept
 
 StrokeFontPool (const StrokeFontPool &other)=delete
 
 ~StrokeFontPool () noexcept
 
bool exists (const QString &filename) const noexcept
 
const StrokeFontgetFont (const QString &filename) const
 
StrokeFontPooloperator= (const StrokeFontPool &rhs) noexcept
 

Private Attributes

QHash< QString, std::shared_ptr< StrokeFont > > mFonts
 

Detailed Description

The StrokeFontPool class.

Constructor & Destructor Documentation

◆ StrokeFontPool() [1/2]

StrokeFontPool ( const FileSystem directory)
explicitnoexcept
+ Here is the call graph for this function:

◆ StrokeFontPool() [2/2]

StrokeFontPool ( const StrokeFontPool other)
delete

◆ ~StrokeFontPool()

~StrokeFontPool ( )
noexcept

Member Function Documentation

◆ exists()

bool exists ( const QString &  filename) const
noexcept
+ Here is the caller graph for this function:

◆ getFont()

const StrokeFont & getFont ( const QString &  filename) const
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

StrokeFontPool& operator= ( const StrokeFontPool rhs)
noexcept

Member Data Documentation

◆ mFonts

QHash<QString, std::shared_ptr<StrokeFont> > mFonts
private

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