/third_party/skia/gm/ |
D | scaledemoji.cpp | 45 sk_sp<SkTypeface> fTypeface; member 50 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 65 SkFont font(fEmojiFont.fTypeface); in onDraw() 94 sk_sp<SkTypeface> fTypeface; member 99 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 115 font.setTypeface(fEmojiFont.fTypeface); in onDraw() 152 sk_sp<SkTypeface> fTypeface; member 157 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 175 font.setTypeface(fEmojiFont.fTypeface); in onDraw()
|
D | colrv1.cpp | 76 sk_sp<SkTypeface> fTypeface; member 83 fEmojiFont.fTypeface = MakeResourceAsTypeface("fonts/colrv1_samples.ttf"); in onOnceBeforeDraw() 88 fEmojiFont.fTypeface = MakeResourceAsTypeface("fonts/more_samples-glyf_colr_1.ttf"); in onOnceBeforeDraw() 145 if (!fEmojiFont.fTypeface) { in onDraw() 153 SkFont font(fEmojiFont.fTypeface); in onDraw()
|
D | drawglyphs.cpp | 23 fTypeface = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 24 fFont = SkFont(fTypeface); in onOnceBeforeDraw() 79 sk_sp<SkTypeface> fTypeface; member in DrawGlyphsGM
|
D | textblob.cpp | 89 fTypeface = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 90 SkFont font(fTypeface); in onOnceBeforeDraw() 134 font.setTypeface(fTypeface); in makeBlob() 198 sk_sp<SkTypeface> fTypeface; member in TextBlobGM
|
/third_party/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 259 if (finfo->fTypeface) { in resolveNativeTypefaces() 271 finfo->fTypeface = fResourceProvider->loadTypeface(name.c_str(), finfo->fPath.c_str()); in resolveNativeTypefaces() 275 if (!finfo->fTypeface) { in resolveNativeTypefaces() 276 finfo->fTypeface = fmgr->makeFromData( in resolveNativeTypefaces() 280 if (!finfo->fTypeface) { in resolveNativeTypefaces() 281 finfo->fTypeface.reset(fmgr->matchFamilyStyle(finfo->fFamily.c_str(), in resolveNativeTypefaces() 284 if (!finfo->fTypeface) { in resolveNativeTypefaces() 288 finfo->fTypeface = fmgr->legacyMakeTypeface(nullptr, in resolveNativeTypefaces() 291 has_unresolved |= !finfo->fTypeface; in resolveNativeTypefaces() 388 if (finfo->fTypeface) { in resolveEmbeddedTypefaces() [all …]
|
/third_party/skia/include/ports/ |
D | SkFontMgr_indirect.h | 66 SkTypeface* fTypeface; // value: weak ref to typeface member 75 fTypeface = that.fTypeface; 79 that.fTypeface = nullptr; 85 if (fTypeface) { in ~DataEntry() 86 fTypeface->weak_unref(); in ~DataEntry()
|
/third_party/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 91 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 93 return entry.fTypeface; in createTypefaceFromFontId() 96 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 98 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId() 103 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId() 132 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
|
/third_party/skia/samplecode/ |
D | SampleChineseFling.cpp | 44 sk_sp<SkTypeface> fTypeface; member in ChineseFlingView 75 fTypeface = chinese_typeface(); in onOnceBeforeDraw() 77 SkFont font(fTypeface, 56); in onOnceBeforeDraw() 110 sk_sp<SkTypeface> fTypeface; member in ChineseZoomView 184 fTypeface = chinese_typeface(); in onOnceBeforeDraw() 186 SkFont font(fTypeface, 11); in onOnceBeforeDraw()
|
D | SampleGlyphTransform.cpp | 29 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 38 SkFont font(fEmojiFont.fTypeface); in onDrawContent() 70 sk_sp<SkTypeface> fTypeface; member
|
D | SampleFlutterAnimate.cpp | 27 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw() 34 SkFont font(fTypeface, 50); in onDrawContent() 88 sk_sp<SkTypeface> fTypeface; member in FlutterAnimateView
|
/third_party/skia/experimental/sktext/src/ |
D | Paint.h | 24 …: fTypeface(sk_sp<SkTypeface>(SkFontMgr::RefDefault()->matchFamilyStyle(ff, SkFontStyle::Normal())… in TrivialFontChain() 30 return fTypeface; 34 sk_sp<SkTypeface> getTypeface() const { return fTypeface; } in getTypeface() 35 bool empty() const { return fTypeface == nullptr; } in empty() 38 sk_sp<SkTypeface> fTypeface;
|
/third_party/skia/src/core/ |
D | SkFont.cpp | 34 : fTypeface(std::move(face)) in SkFont() 50 return fTypeface.get() == b.fTypeface.get() && in operator ==() 60 SkDebugf("typeface %p\n", fTypeface.get()); in dump() 307 return fTypeface ? fTypeface.get() : SkTypeface::GetDefaultTypeface(); in getTypefaceOrDefault() 311 return fTypeface ? fTypeface : SkTypeface::MakeDefault(); in refTypefaceOrDefault()
|
D | SkFont_serial.cpp | 63 if (font.fTypeface) { in Flatten() 78 buffer.writeTypeface(font.fTypeface.get()); in Flatten() 97 font->fTypeface = buffer.readTypeface(); in Unflatten()
|
D | SkStrikeSpec.h | 92 return fTypeface->createScalerContext(effects, fAutoDescriptor.getDesc()); in createScalerContext() 96 const SkTypeface& typeface() const { return *fTypeface; } in typeface() 111 sk_sp<SkTypeface> fTypeface; variable
|
/third_party/skia/src/pdf/ |
D | SkPDFFont.h | 39 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() 119 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 122 sk_sp<SkTypeface> fTypeface;
|
/third_party/skia/include/core/ |
D | SkFont.h | 199 SkTypeface* getTypeface() const {return fTypeface.get(); } in getTypeface() 233 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 248 void setTypeface(sk_sp<SkTypeface> tf) { fTypeface = tf; } in setTypeface() 518 sk_sp<SkTypeface> fTypeface; variable
|
/third_party/skia/modules/skottie/gm/ |
D | ExternalProperties.cpp | 29 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider() 32 return fTypeface; in loadTypeface() 36 sk_sp<SkTypeface> fTypeface; member in __anon0f6fd4d80111::FakeWebFontProvider
|
D | SkottieGM.cpp | 29 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider() 32 return fTypeface; in loadTypeface() 36 sk_sp<SkTypeface> fTypeface; member in __anond4d8c33f0111::FakeWebFontProvider
|
/third_party/skia/bench/ |
D | TypefaceBench.cpp | 236 fTypeface = SkTypeface::MakeFromName("monospace", SkFontStyle()); in onDelayedSetup() 240 SkFont font(fTypeface); in onDraw() 295 sk_sp<SkTypeface> fTypeface; member in UtfToGlyph
|
/third_party/skia/tools/fonts/ |
D | TestFontMgr.cpp | 32 : fTypeface(std::move(typeface)), fStyle(style), fStyleName(styleName) {} in TypefaceEntry() 33 sk_sp<SkTypeface> fTypeface; member 50 return SkRef(fTypefaces[index].fTypeface.get()); in createTypeface()
|
/third_party/skia/modules/sksg/include/ |
D | SkSGText.h | 33 SG_ATTRIBUTE(Typeface, sk_sp<SkTypeface> , fTypeface) 58 sk_sp<SkTypeface> fTypeface; variable
|
/third_party/skia/modules/skparagraph/include/ |
D | TextStyle.h | 282 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() 283 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 284 void setTypeface(sk_sp<SkTypeface> typeface) { fTypeface = std::move(typeface); } in setTypeface() 343 sk_sp<SkTypeface> fTypeface; variable
|
/third_party/skia/modules/sksg/src/ |
D | SkSGText.cpp | 23 : fTypeface(std::move(tf)) in Text() 49 font.setTypeface(fTypeface); in onRevalidate()
|
/third_party/skia/modules/skottie/src/ |
D | SkottieProperty.cpp | 18 return fTypeface == other.fTypeface in operator ==()
|
/third_party/skia/modules/skottie/src/text/ |
D | TextValue.cpp | 39 v->fTypeface = font->fTypeface; in Parse()
|