Searched refs:newTypeface (Results 1 – 7 of 7) sorted by relevance
59 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromData(sk_ref_sp(data))); in TypefaceStyle_test() local60 if (!newTypeface) { in TypefaceStyle_test()65 SkFontStyle newStyle = newTypeface->fontStyle(); in TypefaceStyle_test()
58 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromData(sk_ref_sp(data))); in TypefaceStyle_test() local59 if (!newTypeface) { in TypefaceStyle_test()64 SkFontStyle newStyle = newTypeface->fontStyle(); in TypefaceStyle_test()
881 auto newTypeface = sk_make_sp<SkTypefaceProxy>( in addTypeface() local884 fRemoteFontIdToTypeface.set(wire.typefaceID, newTypeface); in addTypeface()885 return newTypeface; in addTypeface()
1071 auto newTypeface = sk_make_sp<SkTypefaceProxy>( in addTypeface() local1074 fRemoteFontIdToTypeface.set(wire.typefaceID, newTypeface); in addTypeface()1075 return std::move(newTypeface); in addTypeface()
25 paint:setTypeface(Sk.newTypeface(typefacename, style))
1127 sk_sp<SkTypeface_OHOS> newTypeface = sk_make_sp<SkTypeface_OHOS>(familyName, font); in buildSubTypefaceSet() local1128 subSet->push_back(std::move(newTypeface)); in buildSubTypefaceSet()
76903 + sk_sp<SkTypeface_OHOS> newTypeface = sk_make_sp<SkTypeface_OHOS>(familyName, font);76904 + subSet->push_back(std::move(newTypeface));