Lines Matching refs:fset
135 void iterateFamily(SkCanvas* canvas, const SkFont& font, SkFontStyleSet* fset) { in iterateFamily() argument
139 for (int j = 0; j < fset->count(); ++j) { in iterateFamily()
142 fset->getStyle(j, &fs, &sname); in iterateFamily()
146 f.setTypeface(sk_sp<SkTypeface>(fset->createTypeface(j))); in iterateFamily()
152 void exploreFamily(SkCanvas* canvas, const SkFont& font, SkFontStyleSet* fset) { in exploreFamily() argument
159 sk_sp<SkTypeface> face(fset->matchStyle(fs)); in exploreFamily()
181 sk_sp<SkFontStyleSet> fset; in onDraw() local
183 fset.reset(fFM->matchFamily(gNames[i])); in onDraw()
184 if (fset->count() > 0) { in onDraw()
188 if (nullptr == fset.get()) { in onDraw()
194 this->exploreFamily(canvas, font, fset.get()); in onDraw()
196 this->iterateFamily(canvas, font, fset.get()); in onDraw()