Home
last modified time | relevance | path

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

/external/skia/include/ports/
DSkFontMgr_indirect.h67 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.cpp196 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId()
198 return entry.fTypeface; in createTypefaceFromFontId()
201 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId()
203 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId()
208 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId()
237 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp194 , fTypeface(SkRef(typeface)) in SkScalerContext_DW()
313 fGlyphCount = fTypeface->fDWriteFontFace->GetGlyphCount(); in generateGlyphCount()
320 fTypeface->fDWriteFontFace->GetGlyphIndices(reinterpret_cast<UINT32*>(&uni), 1, &index); in generateCharToGlyph()
340 HRVM(fTypeface->fDWriteFontFace->GetGdiCompatibleGlyphMetrics( in generateAdvance()
349 HRVM(fTypeface->fDWriteFontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm), in generateAdvance()
354 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateAdvance()
395 run.fontFace = fTypeface->fDWriteFontFace.get(); in getBoundingBox()
403 HRM(fTypeface->fFactory->CreateGlyphRunAnalysis( in getBoundingBox()
480 fTypeface->fDWriteFontFace->GetGdiCompatibleMetrics( in generateFontMetrics()
486 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateFontMetrics()
[all …]
DSkScalerContext_win_dw.h62 SkAutoTUnref<DWriteFontTypeface> fTypeface; variable
/external/skia/bench/
DTextBlobBench.cpp28 : fTypeface(sk_tool_utils::create_portable_typeface("Times", SkTypeface::kNormal)) { in TextBlobBench()
31 paint.setTypeface(fTypeface); in TextBlobBench()
66 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobBench
/external/skia/gm/
Ddftext.cpp18 fTypeface = NULL; in DFTextGM()
22 SkSafeUnref(fTypeface); in ~DFTextGM()
27 fTypeface = GetResourceAsTypeface("/fonts/Funkster.ttf"); in onOnceBeforeDraw()
209 paint.setTypeface(fTypeface); in onDraw()
231 SkTypeface* fTypeface; member in DFTextGM
Dtextblob.cpp70 : fTypeface(sk_tool_utils::create_portable_typeface("Times", SkTypeface::kNormal)) { in TextBlobGM()
72 p.setTypeface(fTypeface); in TextBlobGM()
116 font.setTypeface(fTypeface); in makeBlob()
180 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobGM
Ddcshader.cpp221 if (!fTypeface) { in onOnceBeforeDraw()
222 fTypeface.reset(GetResourceAsTypeface("/fonts/Funkster.ttf")); in onOnceBeforeDraw()
224 paint->setTypeface(fTypeface); in onOnceBeforeDraw()
229 SkAutoTUnref<SkTypeface> fTypeface; in onOnceBeforeDraw() member
/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()
29 paint->setTypeface(fTypeface.get()); in applyToPaint()
39 return fTypeface == other.fTypeface in operator ==()
74 SkAutoTUnref<SkTypeface> fTypeface; member in __anon61d7bb0a0111::RunFont
87 void* fTypeface; member
DSkTypeface.cpp306 const SkTypeface& fTypeface; member
308 BoundsComputer(const SkTypeface& tf) : fTypeface(tf) {} in BoundsComputer()
312 if (!fTypeface.onComputeBounds(rect)) { in operator ()()
DSkScalerContext.h192 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
304 SkAutoTUnref<SkTypeface> fTypeface;
DSkPaint.cpp42 fTypeface = NULL; in SkPaint()
75 REF_COPY(fTypeface); in SkPaint()
99 SkSafeUnref(fTypeface); in ~SkPaint()
119 REF_COPY(fTypeface); in operator =()
146 return EQUAL(fTypeface) in operator ==()
342 SkRefCnt_SafeAssign(fTypeface, font); in setTypeface()
1761 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.h625 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface()
1026 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/experimental/PdfViewer/
DSkPdfFont.h261 SkTypeface* fTypeface; variable
264 SkPdfStandardFont(SkTypeface* typeface) : fTypeface(typeface) {} in SkPdfStandardFont()
269 paint->setTypeface(fTypeface); in drawOneChar()
/external/skia/src/pdf/
DSkPDFFont.h191 SkAutoTUnref<SkTypeface> fTypeface;
DSkPDFFont.cpp752 return fTypeface.get(); in typeface()
868 , fTypeface(ref_or_default(typeface)) in SkPDFFont()
/external/skia/src/gpu/
DGrStencilAndCoverTextContext.cpp229 uint32_t fTypeface; in get_gr_glyphs() member
234 glyphKey->fTypeface = typeface ? typeface->uniqueID() : 0; in get_gr_glyphs()
DGrAtlasTextContext.cpp344 run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); in setupCache()
345 return SkGlyphCache::DetachCache(run->fTypeface, run->fDescriptor.getDesc()); in setupCache()
667 SkGlyphCache* cache = SkGlyphCache::DetachCache(run.fTypeface, in fallbackDrawPosText()
1623 if (!cache || !SkTypeface::Equal(typeface, run.fTypeface) || in generateGeometry()
1629 cache = SkGlyphCache::DetachCache(run.fTypeface, desc); in generateGeometry()
1632 typeface = run.fTypeface; in generateGeometry()
DGrAtlasTextContext.h144 SkAutoTUnref<SkTypeface> fTypeface; member
/external/skia/samplecode/
DSampleApp.h201 SkTypeface* fTypeface; variable
DSampleApp.cpp813 fTypeface = SkTypeface::CreateFromTypeface(NULL, SkTypeface::kBold); in SampleWindow()
933 SkSafeUnref(fTypeface); in ~SampleWindow()
1140 paint.setTypeface(fTypeface); in showZoomer()