Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/include/atlastext/
DSkAtlasTextFont.h22 SkTypeface* typeface() const { return fTypeface.get(); } in typeface()
24 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface()
28 SkFont makeFont() const { return SkFont(fTypeface, fSize); } in makeFont()
32 : fTypeface(std::move(typeface)), fSize(size) {} in SkAtlasTextFont()
34 sk_sp<SkTypeface> fTypeface; variable
/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
/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/flutter/skia/include/ports/
DSkFontMgr_indirect.h67 SkTypeface* fTypeface; // value: weak ref to typeface member
74 , fTypeface(that.fTypeface) in DataEntry()
78 that.fTypeface = nullptr; in DataEntry()
82 if (fTypeface) { in ~DataEntry()
83 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/flutter/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/flutter/skia/gm/
Dscaledemoji.cpp45 sk_sp<SkTypeface> fTypeface; member
50 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw()
65 SkFont font(fEmojiFont.fTypeface); in onDraw()
95 sk_sp<SkTypeface> fTypeface; member
100 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw()
116 font.setTypeface(fEmojiFont.fTypeface); in onDraw()
/third_party/flutter/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
180 fTypeface = chinese_typeface(); in onOnceBeforeDraw()
182 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.cpp31 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw()
38 SkFont font(fTypeface, 50); in onDrawContent()
93 sk_sp<SkTypeface> fTypeface; member in FlutterAnimateView
/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/flutter/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()
363 return fTypeface ? fTypeface.get() : SkTypeface::GetDefaultTypeface(); in getTypefaceOrDefault()
367 return fTypeface ? fTypeface : SkTypeface::MakeDefault(); in refTypefaceOrDefault()
486 if (font.fTypeface) { in Flatten()
501 buffer.writeTypeface(font.fTypeface.get()); in Flatten()
520 font->fTypeface = buffer.readTypeface(); in Unflatten()
/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()
/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/flutter/skia/src/pdf/
DSkPDFFont.h41 SkTypeface* typeface() const { return fTypeface.get(); } in typeface()
121 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface()
124 sk_sp<SkTypeface> fTypeface;
/third_party/flutter/skia/include/core/
DSkFont.h193 SkTypeface* getTypeface() const {return fTypeface.get(); } in getTypeface()
227 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface()
242 void setTypeface(sk_sp<SkTypeface> tf) { fTypeface = tf; } in setTypeface()
500 sk_sp<SkTypeface> fTypeface; variable
/third_party/flutter/skia/modules/skparagraph/include/
DTextStyle.h134 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
135 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface()
136 void setTypeface(sk_sp<SkTypeface> typeface) { fTypeface = std::move(typeface); } in setTypeface()
169 sk_sp<SkTypeface> fTypeface; variable
/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

123