Flutter Engine
The Flutter Engine
|
Public Member Functions | |
SkFontMgr_fontconfig (FcConfig *config) | |
~SkFontMgr_fontconfig () override | |
Public Member Functions inherited from SkFontMgr | |
int | countFamilies () const |
void | getFamilyName (int index, SkString *familyName) const |
sk_sp< SkFontStyleSet > | createStyleSet (int index) const |
sk_sp< SkFontStyleSet > | matchFamily (const char familyName[]) const |
sk_sp< SkTypeface > | matchFamilyStyle (const char familyName[], const SkFontStyle &) const |
sk_sp< SkTypeface > | matchFamilyStyleCharacter (const char familyName[], const SkFontStyle &, const char *bcp47[], int bcp47Count, SkUnichar character) const |
sk_sp< SkTypeface > | makeFromData (sk_sp< SkData >, int ttcIndex=0) const |
sk_sp< SkTypeface > | makeFromStream (std::unique_ptr< SkStreamAsset >, int ttcIndex=0) const |
sk_sp< SkTypeface > | makeFromStream (std::unique_ptr< SkStreamAsset >, const SkFontArguments &) const |
sk_sp< SkTypeface > | makeFromFile (const char path[], int ttcIndex=0) const |
sk_sp< SkTypeface > | legacyMakeTypeface (const char familyName[], SkFontStyle style) const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Protected Member Functions | |
int | onCountFamilies () const override |
void | onGetFamilyName (int index, SkString *familyName) const override |
sk_sp< SkFontStyleSet > | onCreateStyleSet (int index) const override |
bool | FontAccessible (FcPattern *font) const |
sk_sp< SkFontStyleSet > | onMatchFamily (const char familyName[]) const override |
sk_sp< SkTypeface > | onMatchFamilyStyle (const char familyName[], const SkFontStyle &style) const override |
sk_sp< SkTypeface > | onMatchFamilyStyleCharacter (const char familyName[], const SkFontStyle &style, const char *bcp47[], int bcp47Count, SkUnichar character) const override |
sk_sp< SkTypeface > | onMakeFromStreamIndex (std::unique_ptr< SkStreamAsset > stream, int ttcIndex) const override |
sk_sp< SkTypeface > | onMakeFromStreamArgs (std::unique_ptr< SkStreamAsset > stream, const SkFontArguments &args) const override |
sk_sp< SkTypeface > | onMakeFromData (sk_sp< SkData > data, int ttcIndex) const override |
sk_sp< SkTypeface > | onMakeFromFile (const char path[], int ttcIndex) const override |
sk_sp< SkTypeface > | onLegacyMakeTypeface (const char familyName[], SkFontStyle style) const override |
virtual int | onCountFamilies () const =0 |
virtual void | onGetFamilyName (int index, SkString *familyName) const =0 |
virtual sk_sp< SkFontStyleSet > | onCreateStyleSet (int index) const =0 |
virtual sk_sp< SkFontStyleSet > | onMatchFamily (const char familyName[]) const =0 |
virtual sk_sp< SkTypeface > | onMatchFamilyStyle (const char familyName[], const SkFontStyle &) const =0 |
virtual sk_sp< SkTypeface > | onMatchFamilyStyleCharacter (const char familyName[], const SkFontStyle &, const char *bcp47[], int bcp47Count, SkUnichar character) const =0 |
virtual sk_sp< SkTypeface > | onMakeFromData (sk_sp< SkData >, int ttcIndex) const =0 |
virtual sk_sp< SkTypeface > | onMakeFromStreamIndex (std::unique_ptr< SkStreamAsset >, int ttcIndex) const =0 |
virtual sk_sp< SkTypeface > | onMakeFromStreamArgs (std::unique_ptr< SkStreamAsset >, const SkFontArguments &) const =0 |
virtual sk_sp< SkTypeface > | onMakeFromFile (const char path[], int ttcIndex) const =0 |
virtual sk_sp< SkTypeface > | onLegacyMakeTypeface (const char familyName[], SkFontStyle) const =0 |
Static Protected Member Functions | |
static bool | AnyStringMatching (FcPattern *font, FcPattern *pattern, const char *object) |
static bool | FontFamilyNameMatches (FcPattern *font, FcPattern *pattern) |
static bool | FontContainsCharacter (FcPattern *font, uint32_t character) |
Additional Inherited Members | |
Static Public Member Functions inherited from SkFontMgr | |
static sk_sp< SkFontMgr > | RefEmpty () |
Definition at line 535 of file SkFontMgr_fontconfig.cpp.
|
inlineexplicit |
Takes control of the reference to 'config'.
Definition at line 691 of file SkFontMgr_fontconfig.cpp.
|
inlineoverride |
Definition at line 696 of file SkFontMgr_fontconfig.cpp.
|
inlinestaticprotected |
True if any string object value in the font is the same as a string object value in the pattern.
Definition at line 718 of file SkFontMgr_fontconfig.cpp.
|
inlineprotected |
Definition at line 760 of file SkFontMgr_fontconfig.cpp.
|
inlinestaticprotected |
Definition at line 791 of file SkFontMgr_fontconfig.cpp.
|
inlinestaticprotected |
Definition at line 787 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 711 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 960 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 952 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 956 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 943 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 937 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
May return NULL if the name is not found.
Implements SkFontMgr.
Definition at line 809 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 853 of file SkFontMgr_fontconfig.cpp.
|
inlineoverrideprotectedvirtual |
Implements SkFontMgr.
Definition at line 893 of file SkFontMgr_fontconfig.cpp.