NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
novasvg::FontFaceCache Class Reference

#include <font.h>

Public Member Functions

bool addFontFace (const std::string &family, bool bold, bool italic, const FontFace &face)
 
FontFace getFontFaceLocal (const std::string &family, bool bold, bool italic) const
 
FontFace getFontFace (const std::string &family, bool bold, bool italic) const
 
FontFace getFontFaceForFamilyStack (const std::string &familyStack, bool bold, bool italic) const
 

Friends

FontFaceCache * fontFaceCache ()
 

Detailed Description

Definition at line 102 of file font.h.

Member Function Documentation

◆ addFontFace()

NOVASVG_INLINE bool novasvg::FontFaceCache::addFontFace ( const std::string &  family,
bool  bold,
bool  italic,
const FontFace &  face 
)

◆ getFontFace()

NOVASVG_INLINE FontFace novasvg::FontFaceCache::getFontFace ( const std::string &  family,
bool  bold,
bool  italic 
) const

◆ getFontFaceForFamilyStack()

NOVASVG_INLINE FontFace novasvg::FontFaceCache::getFontFaceForFamilyStack ( const std::string &  familyStack,
bool  bold,
bool  italic 
) const

◆ getFontFaceLocal()

NOVASVG_INLINE FontFace novasvg::FontFaceCache::getFontFaceLocal ( const std::string &  family,
bool  bold,
bool  italic 
) const

Definition at line 329 of file font.h.

References novasvg::render::font_face_cache_get().

Referenced by getFontFace(), and getFontFaceForFamilyStack().

Friends And Related Symbol Documentation

◆ fontFaceCache

FontFaceCache * fontFaceCache ( )
friend

Definition at line 449 of file font.h.


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