Home
last modified time | relevance | path

Searched refs:fTypeface (Results 1 – 25 of 41) sorted by relevance

12

/third_party/skia/gm/
Dscaledemoji.cpp45 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()
Dcolrv1.cpp76 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()
Ddrawglyphs.cpp23 fTypeface = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw()
24 fFont = SkFont(fTypeface); in onOnceBeforeDraw()
79 sk_sp<SkTypeface> fTypeface; member in DrawGlyphsGM
Dtextblob.cpp89 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/
DTextLayer.cpp259 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/
DSkFontMgr_indirect.h66 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/
DSkFontMgr_indirect.cpp91 !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/
DSampleChineseFling.cpp44 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()
DSampleGlyphTransform.cpp29 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw()
38 SkFont font(fEmojiFont.fTypeface); in onDrawContent()
70 sk_sp<SkTypeface> fTypeface; member
DSampleFlutterAnimate.cpp27 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/
DPaint.h24 …: 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/
DSkFont.cpp34 : 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()
DSkFont_serial.cpp63 if (font.fTypeface) { in Flatten()
78 buffer.writeTypeface(font.fTypeface.get()); in Flatten()
97 font->fTypeface = buffer.readTypeface(); in Unflatten()
DSkStrikeSpec.h92 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/
DSkPDFFont.h39 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/
DSkFont.h199 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/
DExternalProperties.cpp29 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider()
32 return fTypeface; in loadTypeface()
36 sk_sp<SkTypeface> fTypeface; member in __anon0f6fd4d80111::FakeWebFontProvider
DSkottieGM.cpp29 : 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/
DTypefaceBench.cpp236 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/
DTestFontMgr.cpp32 : 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/
DSkSGText.h33 SG_ATTRIBUTE(Typeface, sk_sp<SkTypeface> , fTypeface)
58 sk_sp<SkTypeface> fTypeface; variable
/third_party/skia/modules/skparagraph/include/
DTextStyle.h282 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/
DSkSGText.cpp23 : fTypeface(std::move(tf)) in Text()
49 font.setTypeface(fTypeface); in onRevalidate()
/third_party/skia/modules/skottie/src/
DSkottieProperty.cpp18 return fTypeface == other.fTypeface in operator ==()
/third_party/skia/modules/skottie/src/text/
DTextValue.cpp39 v->fTypeface = font->fTypeface; in Parse()

12