|
NovaSVG 0.10.0
A header-only SVG library
|
#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 () |
| NOVASVG_INLINE bool novasvg::FontFaceCache::addFontFace | ( | const std::string & | family, |
| bool | bold, | ||
| bool | italic, | ||
| const FontFace & | face | ||
| ) |
Definition at line 322 of file font.h.
References novasvg::render::font_face_cache_add(), novasvg::FontFace::get(), and novasvg::FontFace::isNull().
Referenced by novasvg::addFontFaceFromData(), and novasvg::addFontFaceFromFile().
| NOVASVG_INLINE FontFace novasvg::FontFaceCache::getFontFace | ( | const std::string & | family, |
| bool | bold, | ||
| bool | italic | ||
| ) | const |
Definition at line 334 of file font.h.
References novasvg::embeddedFallbackFont(), novasvg::render::font_face_cache_get(), getFontFaceLocal(), and novasvg::FontFace::isNull().
Referenced by getFontFaceForFamilyStack(), and novasvg::makeFont().
| NOVASVG_INLINE FontFace novasvg::FontFaceCache::getFontFaceForFamilyStack | ( | const std::string & | familyStack, |
| bool | bold, | ||
| bool | italic | ||
| ) | const |
Definition at line 370 of file font.h.
References getFontFace(), getFontFaceLocal(), novasvg::FontFace::isNull(), and novasvg::stripLeadingAndTrailingSpaces().
Referenced by novasvg::makeFont().
| 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().
|
friend |