Home
last modified time | relevance | path

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

/external/skia/include/ports/
DSkFontMgr_indirect.h69 SkTypeface* fTypeface; // value: weak ref to typeface member
76 , fTypeface(that.fTypeface) in DataEntry()
80 that.fTypeface = NULL; in DataEntry()
84 if (fTypeface) { in ~DataEntry()
85 fTypeface->weak_unref(); in ~DataEntry()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp106 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId()
108 return entry.fTypeface; in createTypefaceFromFontId()
111 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId()
113 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId()
118 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId()
147 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
/external/skia/bench/
DTextBlobBench.cpp28 : fTypeface(nullptr) { in TextBlobBench()
33 fTypeface.reset(sk_tool_utils::create_portable_typeface("serif", SkTypeface::kNormal)); in onDelayedSetup()
36 paint.setTypeface(fTypeface); in onDelayedSetup()
70 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobBench
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp209 , fTypeface(SkRef(typeface)) in SkScalerContext_DW()
328 fGlyphCount = fTypeface->fDWriteFontFace->GetGlyphCount(); in generateGlyphCount()
335 fTypeface->fDWriteFontFace->GetGlyphIndices(reinterpret_cast<UINT32*>(&uni), 1, &index); in generateCharToGlyph()
356 HRVM(fTypeface->fDWriteFontFace->GetGdiCompatibleGlyphMetrics( in generateAdvance()
366 HRVM(fTypeface->fDWriteFontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm), in generateAdvance()
373 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateAdvance()
415 run.fontFace = fTypeface->fDWriteFontFace.get(); in getBoundingBox()
425 HRM(fTypeface->fFactory->CreateGlyphRunAnalysis( in getBoundingBox()
504 fTypeface->fDWriteFontFace->GetGdiCompatibleMetrics( in generateFontMetrics()
510 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateFontMetrics()
[all …]
DSkScalerContext_win_dw.h62 SkAutoTUnref<DWriteFontTypeface> fTypeface; variable
/external/skia/gm/
Dtextblob.cpp75 fTypeface.reset(sk_tool_utils::create_portable_typeface("serif", SkTypeface::kNormal)); in onOnceBeforeDraw()
77 p.setTypeface(fTypeface); in onOnceBeforeDraw()
120 font.setTypeface(fTypeface); in makeBlob()
184 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobGM
/external/skia/src/core/
DSkFont.cpp18 : fTypeface(ref_or_default(face)) in SkFont()
58 SkSafeUnref(fTypeface); in ~SkFont()
108 (void)fTypeface->charsToGlyphs(text, typeface_encoding, glyphs, count); in textToGlyphs()
DSkTextBlob.cpp22 , fTypeface(SkSafeRef(paint.getTypeface())) in RunFont()
30 paint->setTypeface(fTypeface.get()); in applyToPaint()
41 return fTypeface == other.fTypeface in operator ==()
76 SkAutoTUnref<SkTypeface> fTypeface; member in __anon09fadd6f0111::RunFont
91 void* fTypeface; member
DSkScalerContext.h192 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
307 SkAutoTUnref<SkTypeface> fTypeface; variable
DSkPaint.cpp48 fTypeface = nullptr; in SkPaint()
81 REF_COPY(fTypeface); in SkPaint()
108 REF_MOVE(fTypeface); in SkPaint()
132 SkSafeUnref(fTypeface); in ~SkPaint()
152 REF_COPY(fTypeface); in operator =()
185 REF_MOVE(fTypeface); in operator =()
212 return EQUAL(fTypeface) in operator ==()
404 SkRefCnt_SafeAssign(fTypeface, font); in setTypeface()
1742 proc(fTypeface, desc, context); in descriptorProc()
DSkScalerContext.cpp82 , fTypeface(SkRef(typeface)) in SkScalerContext()
/external/skia/include/core/
DSkFont.h130 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface()
158 SkTypeface* fTypeface; variable
DSkPaint.h591 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface()
1033 SkTypeface* fTypeface;
/external/skia/tests/
DFontHostStreamTest.cpp72 SkTypeface* fTypeface = SkTypeface::CreateFromName("Georgia", in DEF_TEST() local
74 SkSafeUnref(paint.setTypeface(fTypeface)); in DEF_TEST()
/external/skia/src/gpu/text/
DGrAtlasTextBlob.cpp63 run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); in setupCache()
64 return SkGlyphCache::DetachCache(run->fTypeface, desc->getDesc()); in setupCache()
501 if (lRun.fTypeface.get()) { in AssertEqual()
502 SkASSERT_RELEASE(rRun.fTypeface.get()); in AssertEqual()
503 SkASSERT_RELEASE(SkTypeface::Equal(lRun.fTypeface, rRun.fTypeface)); in AssertEqual()
505 SkASSERT_RELEASE(!rRun.fTypeface.get()); in AssertEqual()
DGrAtlasTextBlob_regenInBatch.cpp162 if (!*cache || !SkTypeface::Equal(*typeface, run->fTypeface) || in regenInBatch()
168 *cache = SkGlyphCache::DetachCache(run->fTypeface, *desc); in regenInBatch()
170 *typeface = run->fTypeface; in regenInBatch()
DGrAtlasTextBlob.h474 SkAutoTUnref<SkTypeface> fTypeface; member
/external/skia/src/pdf/
DSkPDFFont.h197 SkAutoTUnref<SkTypeface> fTypeface;
DSkPDFFont.cpp747 return fTypeface.get(); in typeface()
863 , fTypeface(ref_or_default(typeface)) in SkPDFFont()
/external/skia/samplecode/
DSampleApp.h200 SkTypeface* fTypeface; variable
DSampleApp.cpp883 fTypeface = SkTypeface::CreateFromTypeface(nullptr, SkTypeface::kBold); in SampleWindow()
996 SkSafeUnref(fTypeface); in ~SampleWindow()
1277 paint.setTypeface(fTypeface); in showZoomer()