Searched refs:newTypeface (Results 1 – 7 of 7) sorted by relevance
54 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromData(sk_ref_sp(data))); in TypefaceStyle_test() local55 if (!newTypeface) { in TypefaceStyle_test()60 SkFontStyle newStyle = newTypeface->fontStyle(); in TypefaceStyle_test()
730 auto newTypeface = sk_make_sp<SkTypefaceProxy>( in addTypeface() local733 fRemoteFontIdToTypeface.set(wire.typefaceID, newTypeface); in addTypeface()734 return std::move(newTypeface); in addTypeface()
800 auto newTypeface = sk_make_sp<SkTypefaceProxy>( in addTypeface() local803 fRemoteFontIdToTypeface.set(wire.typefaceID, newTypeface); in addTypeface()804 return std::move(newTypeface); in addTypeface()
25 paint:setTypeface(Sk.newTypeface(typefacename, style))