Home
last modified time | relevance | path

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

/external/skia/include/ports/
DSkFontMgr_indirect.h68 SkTypeface* fTypeface; // value: weak ref to typeface member
75 , fTypeface(that.fTypeface) in DataEntry()
79 that.fTypeface = NULL; in DataEntry()
83 if (fTypeface) { in ~DataEntry()
84 fTypeface->weak_unref(); in ~DataEntry()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp92 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId()
94 return entry.fTypeface; in createTypefaceFromFontId()
97 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId()
99 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId()
104 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId()
133 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
/external/skia/src/pdf/
DSkPDFFont.h37 SkTypeface* typeface() const { return fTypeface.get(); } in typeface()
112 sk_sp<SkTypeface> fTypeface; member
122 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface()
127 sk_sp<SkTypeface> fTypeface;
DSkPDFFont.cpp236 , fTypeface(std::move(info.fTypeface)) in SkPDFFont()
241 SkASSERT(fTypeface); in SkPDFFont()
728 fTypeface = nullptr; in drop()
/external/skia/tools/
DSkShaper_harfbuzz.cpp51 sk_sp<SkTypeface> fTypeface; member
55 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
59 fImpl->fTypeface->openStream(&index)))); in SkShaper()
70 hb_face_set_upem(face.get(), fImpl->fTypeface->getUnitsPerEm()); in SkShaper()
91 paint.setTypeface(fImpl->fTypeface); in shape()
DSkShaper_primitive.cpp13 sk_sp<SkTypeface> fTypeface; member
17 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
38 paint.setTypeface(fImpl->fTypeface); in shape()
/external/skia/bench/
DTextBlobBench.cpp30 fTypeface = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); in onDelayedSetup()
33 paint.setTypeface(fTypeface); in onDelayedSetup()
67 sk_sp<SkTypeface> fTypeface; member in TextBlobBench
/external/skia/gm/
Dtextblob.cpp76 fTypeface = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw()
78 p.setTypeface(fTypeface); in onOnceBeforeDraw()
121 font.setTypeface(fTypeface); in makeBlob()
185 sk_sp<SkTypeface> fTypeface; member in TextBlobGM
/external/skia/include/core/
DSkFont.h134 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
167 sk_sp<SkTypeface> fTypeface; variable
DSkPaint.h573 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
1051 sk_sp<SkTypeface> fTypeface;
/external/skia/src/gpu/text/
DGrAtlasTextBlob.cpp64 run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); in setupCache()
68 return SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc->getDesc()); in setupCache()
469 if (lRun.fTypeface.get()) { in AssertEqual()
470 SkASSERT_RELEASE(rRun.fTypeface.get()); in AssertEqual()
471 SkASSERT_RELEASE(SkTypeface::Equal(lRun.fTypeface.get(), rRun.fTypeface.get())); in AssertEqual()
473 SkASSERT_RELEASE(!rRun.fTypeface.get()); in AssertEqual()
DGrAtlasTextBlob_regenInOp.cpp160 lazyCache->reset(SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc)); in regenInOp()
DGrAtlasTextBlob.h469 sk_sp<SkTypeface> fTypeface; member
/external/skia/src/core/
DSkFont.cpp14 : fTypeface(face ? std::move(face) : SkTypeface::MakeDefault()) in SkFont()
104 (void)fTypeface->charsToGlyphs(text, typefaceEncoding, glyphs, count); in textToGlyphs()
DSkTextBlob.cpp26 , fTypeface(SkSafeRef(paint.getTypeface())) in RunFont()
34 paint->setTypeface(fTypeface); in applyToPaint()
45 return fTypeface == other.fTypeface in operator ==()
78 sk_sp<SkTypeface> fTypeface; member in __anon61d7bb0a0111::RunFont
93 void* fTypeface; member
DSkScalerContext.h217 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
339 sk_sp<SkTypeface> fTypeface; variable
DSkPaint.cpp70 : COPY(fTypeface) in SkPaint()
91 MOVE(fTypeface); in SkPaint()
118 ASSIGN(fTypeface); in operator =()
145 MOVE(fTypeface); in operator =()
168 return EQUAL(fTypeface) in operator ==()
1735 proc(fTypeface.get(), { pe, mf, ra }, desc, context); in descriptorProc()
DSkScalerContext.cpp71 , fTypeface(std::move(typeface)) in SkScalerContext()
/external/skia/samplecode/
DSampleApp.h221 sk_sp<SkTypeface> fTypeface; variable
DSampleApp.cpp908 fTypeface = SkTypeface::MakeFromName("Courier", SkFontStyle(SkFontStyle::kBold_Weight, in SampleWindow()
1324 paint.setTypeface(fTypeface); in showZoomer()