Lines Matching refs:fset
136 void iterateFamily(SkCanvas* canvas, const SkFont& font, SkFontStyleSet* fset) { in iterateFamily() argument
140 for (int j = 0; j < fset->count(); ++j) { in iterateFamily()
143 fset->getStyle(j, &fs, &sname); in iterateFamily()
147 f.setTypeface(sk_sp<SkTypeface>(fset->createTypeface(j))); in iterateFamily()
153 void exploreFamily(SkCanvas* canvas, const SkFont& font, SkFontStyleSet* fset) { in exploreFamily() argument
160 sk_sp<SkTypeface> face(fset->matchStyle(fs)); in exploreFamily()
182 sk_sp<SkFontStyleSet> fset; in onDraw() local
184 fset.reset(fFM->matchFamily(gNames[i])); in onDraw()
185 if (fset->count() > 0) { in onDraw()
189 if (nullptr == fset.get()) { in onDraw()
195 this->exploreFamily(canvas, font, fset.get()); in onDraw()
197 this->iterateFamily(canvas, font, fset.get()); in onDraw()