#include <asset_font_manager.h>
|
| DynamicFontManager () |
|
TypefaceFontAssetProvider & | font_provider () const |
|
| AssetFontManager (std::unique_ptr< FontAssetProvider > font_provider) |
|
| ~AssetFontManager () override |
|
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 |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
|
static sk_sp< SkFontMgr > | RefEmpty () |
|
sk_sp< SkFontStyleSet > | onMatchFamily (const char familyName[]) 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 |
|
std::unique_ptr< FontAssetProvider > | font_provider_ |
|
Definition at line 87 of file asset_font_manager.h.
◆ DynamicFontManager()
txt::DynamicFontManager::DynamicFontManager |
( |
| ) |
|
|
inline |
Definition at line 89 of file asset_font_manager.h.
AssetFontManager(std::unique_ptr< FontAssetProvider > font_provider)
◆ font_provider()
Definition at line 92 of file asset_font_manager.h.
92 {
93 return static_cast<TypefaceFontAssetProvider&>(*font_provider_);
94 }
The documentation for this class was generated from the following file: