コード例 #1
0
 SkFontStyleSet* onCreateStyleSet(int index) const override {
     return this->onMatchFamily(fFamilyNames->atStr(index));
 }
コード例 #2
0
 void onGetFamilyName(int index, SkString* familyName) const override {
     familyName->set(fFamilyNames->atStr(index));
 }