Home
last modified time | relevance | path

Searched refs:SkFontStyleSet_Custom (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/ports/
DSkFontMgr_custom.cpp84 SkFontStyleSet_Custom::SkFontStyleSet_Custom(const SkString familyName) : fFamilyName(familyName) {} in SkFontStyleSet_Custom() function in SkFontStyleSet_Custom
86 void SkFontStyleSet_Custom::appendTypeface(sk_sp<SkTypeface_Custom> typeface) { in appendTypeface()
90 int SkFontStyleSet_Custom::count() { in count()
94 void SkFontStyleSet_Custom::getStyle(int index, SkFontStyle* style, SkString* name) { in getStyle()
104 SkTypeface* SkFontStyleSet_Custom::createTypeface(int index) { in createTypeface()
109 SkTypeface* SkFontStyleSet_Custom::matchStyle(const SkFontStyle& pattern) { in matchStyle()
113 SkString SkFontStyleSet_Custom::getFamilyName() { return fFamilyName; } in getFamilyName()
124 sk_sp<SkFontStyleSet_Custom> set(this->onMatchFamily(defaultNames[i])); in SkFontMgr_Custom()
153 SkFontStyleSet_Custom* SkFontMgr_Custom::onCreateStyleSet(int index) const { in onCreateStyleSet()
158 SkFontStyleSet_Custom* SkFontMgr_Custom::onMatchFamily(const char familyName[]) const { in onMatchFamily()
DSkFontMgr_custom.h97 class SkFontStyleSet_Custom : public SkFontStyleSet {
99 explicit SkFontStyleSet_Custom(const SkString familyName);
125 typedef SkTArray<sk_sp<SkFontStyleSet_Custom>> Families;
136 SkFontStyleSet_Custom* onCreateStyleSet(int index) const override;
137 SkFontStyleSet_Custom* onMatchFamily(const char familyName[]) const override;
154 SkFontStyleSet_Custom* fDefaultFamily;
DSkFontMgr_custom_embedded.cpp29 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString()); in loadSystemFonts()
36 static SkFontStyleSet_Custom* find_family(SkFontMgr_Custom::Families& families, in find_family()
70 SkFontStyleSet_Custom* addTo = find_family(*families, realname.c_str()); in load_embedded_font()
72 addTo = new SkFontStyleSet_Custom(realname); in load_embedded_font()
DSkFontMgr_custom_directory.cpp27 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString()); in loadSystemFonts()
34 static SkFontStyleSet_Custom* find_family(SkFontMgr_Custom::Families& families, in find_family()
78 SkFontStyleSet_Custom* addTo = find_family(*families, realname.c_str()); in load_directory_fonts()
80 addTo = new SkFontStyleSet_Custom(realname); in load_directory_fonts()
DSkFontMgr_custom_empty.cpp18 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString()); in loadSystemFonts()