Lines Matching refs:index
349 void onGetFamilyName(int index, SkString* familyName) const override;
350 SkFontStyleSet* onCreateStyleSet(int index) const override;
396 void getStyle(int index, SkFontStyle* fs, SkString* styleName) override;
397 SkTypeface* createTypeface(int index) override;
546 void SkFontMgr_DirectWrite::onGetFamilyName(int index, SkString* familyName) const {
548 HRVM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family.");
556 SkFontStyleSet* SkFontMgr_DirectWrite::onCreateStyleSet(int index) const {
558 HRNM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family.");
571 UINT32 index;
573 HRNM(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists),
579 return this->onCreateStyleSet(index);
1084 // Find the first non-simulated font which has the given ttc index.
1104 // Skip if the current face index does not match the ttcIndex
1133 UINT32 index;
1135 HR(fFontCollection->FindFamilyName(wideFamilyName, &index, &exists));
1138 HR(fFontCollection->GetFontFamily(index, fontFamily));
1190 SkTypeface* SkFontStyleSet_DirectWrite::createTypeface(int index) {
1192 HRNM(fFontFamily->GetFont(index, &font), "Could not get font.");
1200 void SkFontStyleSet_DirectWrite::getStyle(int index, SkFontStyle* fs, SkString* styleName) {
1202 HRVM(fFontFamily->GetFont(index, &font), "Could not get font.");