Home
last modified time | relevance | path

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

/third_party/skia/src/ports/
H A DSkFontMgr_custom_embedded.cpp33 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString());
55 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString());
65 static SkFontStyleSet_Custom* find_family(SkFontMgr_Custom::Families& families, in find_family()
97 SkFontStyleSet_Custom* addTo = find_family(*families, realname.c_str()); in load_font_from_data()
99 addTo = new SkFontStyleSet_Custom(realname); in load_font_from_data()
H A DSkFontMgr_custom.cpp128 SkFontStyleSet_Custom::SkFontStyleSet_Custom(const SkString familyName) : fFamilyName(familyName) {} in SkFontStyleSet_Custom() function in SkFontStyleSet_Custom
130 void SkFontStyleSet_Custom::appendTypeface(sk_sp<SkTypeface_Custom> typeface) { in appendTypeface()
134 int SkFontStyleSet_Custom::count() { in count()
138 void SkFontStyleSet_Custom::getStyle(int index, SkFontStyle* style, SkString* name) { in getStyle()
148 SkTypeface* SkFontStyleSet_Custom::createTypeface(int index) {
153 SkTypeface* SkFontStyleSet_Custom::matchStyle(const SkFontStyle& pattern) {
157 SkString SkFontStyleSet_Custom::getFamilyName() { return fFamilyName; }
168 sk_sp<SkFontStyleSet_Custom> set(this->onMatchFamily(defaultNames[i]));
197 SkFontStyleSet_Custom* SkFontMgr_Custo
[all...]
H A DSkFontMgr_custom.h98 * SkFontStyleSet_Custom
102 class SkFontStyleSet_Custom : public SkFontStyleSet { class
104 explicit SkFontStyleSet_Custom(const SkString familyName);
124 * This class is essentially a collection of SkFontStyleSet_Custom,
125 * one SkFontStyleSet_Custom for each family. This class may be modified
130 typedef SkTArray<sk_sp<SkFontStyleSet_Custom>> Families;
141 SkFontStyleSet_Custom* onCreateStyleSet(int index) const override;
142 SkFontStyleSet_Custom* onMatchFamily(const char familyName[]) const override;
156 SkFontStyleSet_Custom* fDefaultFamily;
H A DSkFontMgr_custom_directory.cpp27 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString());
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()
H A DSkFontMgr_custom_empty.cpp18 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString());

Completed in 3 milliseconds