Flutter Engine
The Flutter Engine
|
#include <FontCollection.h>
Public Member Functions | |
FontCollection () | |
size_t | getFontManagersCount () const |
void | setAssetFontManager (sk_sp< SkFontMgr > fontManager) |
void | setDynamicFontManager (sk_sp< SkFontMgr > fontManager) |
void | setTestFontManager (sk_sp< SkFontMgr > fontManager) |
void | setDefaultFontManager (sk_sp< SkFontMgr > fontManager) |
void | setDefaultFontManager (sk_sp< SkFontMgr > fontManager, const char defaultFamilyName[]) |
void | setDefaultFontManager (sk_sp< SkFontMgr > fontManager, const std::vector< SkString > &defaultFamilyNames) |
sk_sp< SkFontMgr > | getFallbackManager () const |
std::vector< sk_sp< SkTypeface > > | findTypefaces (const std::vector< SkString > &familyNames, SkFontStyle fontStyle) |
std::vector< sk_sp< SkTypeface > > | findTypefaces (const std::vector< SkString > &familyNames, SkFontStyle fontStyle, const std::optional< FontArguments > &fontArgs) |
sk_sp< SkTypeface > | defaultFallback (SkUnichar unicode, SkFontStyle fontStyle, const SkString &locale) |
sk_sp< SkTypeface > | defaultEmojiFallback (SkUnichar emojiStart, SkFontStyle fontStyle, const SkString &locale) |
sk_sp< SkTypeface > | defaultFallback () |
void | disableFontFallback () |
void | enableFontFallback () |
bool | fontFallbackEnabled () |
ParagraphCache * | getParagraphCache () |
void | clearCaches () |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Definition at line 21 of file FontCollection.h.
skia::textlayout::FontCollection::FontCollection | ( | ) |
Definition at line 36 of file FontCollection.cpp.
void skia::textlayout::FontCollection::clearCaches | ( | ) |
Definition at line 221 of file FontCollection.cpp.
sk_sp< SkTypeface > skia::textlayout::FontCollection::defaultEmojiFallback | ( | SkUnichar | emojiStart, |
SkFontStyle | fontStyle, | ||
const SkString & | locale | ||
) |
Definition at line 173 of file FontCollection.cpp.
sk_sp< SkTypeface > skia::textlayout::FontCollection::defaultFallback | ( | ) |
Definition at line 204 of file FontCollection.cpp.
sk_sp< SkTypeface > skia::textlayout::FontCollection::defaultFallback | ( | SkUnichar | unicode, |
SkFontStyle | fontStyle, | ||
const SkString & | locale | ||
) |
Definition at line 153 of file FontCollection.cpp.
void skia::textlayout::FontCollection::disableFontFallback | ( | ) |
Definition at line 218 of file FontCollection.cpp.
void skia::textlayout::FontCollection::enableFontFallback | ( | ) |
Definition at line 219 of file FontCollection.cpp.
std::vector< sk_sp< SkTypeface > > skia::textlayout::FontCollection::findTypefaces | ( | const std::vector< SkString > & | familyNames, |
SkFontStyle | fontStyle | ||
) |
Definition at line 88 of file FontCollection.cpp.
std::vector< sk_sp< SkTypeface > > skia::textlayout::FontCollection::findTypefaces | ( | const std::vector< SkString > & | familyNames, |
SkFontStyle | fontStyle, | ||
const std::optional< FontArguments > & | fontArgs | ||
) |
Definition at line 92 of file FontCollection.cpp.
|
inline |
Definition at line 45 of file FontCollection.h.
Definition at line 34 of file FontCollection.h.
size_t skia::textlayout::FontCollection::getFontManagersCount | ( | ) | const |
Definition at line 40 of file FontCollection.cpp.
|
inline |
Definition at line 47 of file FontCollection.h.
Definition at line 42 of file FontCollection.cpp.
Definition at line 66 of file FontCollection.cpp.
void skia::textlayout::FontCollection::setDefaultFontManager | ( | sk_sp< SkFontMgr > | fontManager, |
const char | defaultFamilyName[] | ||
) |
Definition at line 54 of file FontCollection.cpp.
void skia::textlayout::FontCollection::setDefaultFontManager | ( | sk_sp< SkFontMgr > | fontManager, |
const std::vector< SkString > & | defaultFamilyNames | ||
) |
Definition at line 60 of file FontCollection.cpp.
Definition at line 46 of file FontCollection.cpp.
Definition at line 50 of file FontCollection.cpp.