Home
last modified time | relevance | path

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

12

/external/skia/include/ports/
DSkFontMgr_indirect.h66 SkTypeface* fTypeface; // value: weak ref to typeface member
74 , fTypeface(that.fTypeface) in DataEntry()
78 that.fTypeface = NULL; in DataEntry()
82 if (fTypeface) { in ~DataEntry()
83 fTypeface->weak_unref(); in ~DataEntry()
/external/chromium_org/third_party/skia/include/ports/
DSkFontMgr_indirect.h74 SkTypeface* fTypeface; // value: weak ref to typeface member
82 , fTypeface(that.fTypeface) in DataEntry()
86 that.fTypeface = NULL; in DataEntry()
90 if (fTypeface) { in ~DataEntry()
91 fTypeface->weak_unref(); in ~DataEntry()
/external/chromium_org/third_party/skia/gm/
Dcoloremoji.cpp20 fTypeface = NULL; in ColorEmojiGM()
24 SkSafeUnref(fTypeface); in ~ColorEmojiGM()
35 fTypeface = SkTypeface::CreateFromStream(stream); in onOnceBeforeDraw()
51 paint.setTypeface(fTypeface); in onDraw()
104 SkTypeface* fTypeface; member in skiagm::ColorEmojiGM
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
/external/skia/gm/
Dcoloremoji.cpp20 fTypeface = NULL; in ColorEmojiGM()
24 SkSafeUnref(fTypeface); in ~ColorEmojiGM()
41 fTypeface = SkTypeface::CreateFromStream(stream); in onOnceBeforeDraw()
57 paint.setTypeface(fTypeface); in onDraw()
110 SkTypeface* fTypeface; member in skiagm::ColorEmojiGM
/external/chromium_org/third_party/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/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.cpp195 , fTypeface(SkRef(typeface)) in SkScalerContext_DW()
341 fGlyphCount = fTypeface->fDWriteFontFace->GetGlyphCount(); in generateGlyphCount()
348 fTypeface->fDWriteFontFace->GetGlyphIndices(reinterpret_cast<UINT32*>(&uni), 1, &index); in generateCharToGlyph()
368 HRVM(fTypeface->fDWriteFontFace->GetGdiCompatibleGlyphMetrics( in generateAdvance()
377 HRVM(fTypeface->fDWriteFontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm), in generateAdvance()
382 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateAdvance()
423 run.fontFace = fTypeface->fDWriteFontFace.get(); in generateMetrics()
431 HRVM(fTypeface->fFactory->CreateGlyphRunAnalysis( in generateMetrics()
468 fTypeface->fDWriteFontFace->GetGdiCompatibleMetrics( in generateFontMetrics()
474 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateFontMetrics()
[all …]
DSkScalerContext_win_dw.h56 SkAutoTUnref<DWriteFontTypeface> fTypeface; variable
/external/chromium_org/third_party/skia/src/ports/
DSkScalerContext_win_dw.cpp195 , fTypeface(SkRef(typeface)) in SkScalerContext_DW()
341 fGlyphCount = fTypeface->fDWriteFontFace->GetGlyphCount(); in generateGlyphCount()
348 fTypeface->fDWriteFontFace->GetGlyphIndices(reinterpret_cast<UINT32*>(&uni), 1, &index); in generateCharToGlyph()
368 HRVM(fTypeface->fDWriteFontFace->GetGdiCompatibleGlyphMetrics( in generateAdvance()
377 HRVM(fTypeface->fDWriteFontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm), in generateAdvance()
382 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateAdvance()
423 run.fontFace = fTypeface->fDWriteFontFace.get(); in getBoundingBox()
431 HRM(fTypeface->fFactory->CreateGlyphRunAnalysis( in getBoundingBox()
508 fTypeface->fDWriteFontFace->GetGdiCompatibleMetrics( in generateFontMetrics()
514 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateFontMetrics()
[all …]
DSkScalerContext_win_dw.h62 SkAutoTUnref<DWriteFontTypeface> fTypeface; variable
/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()
DSkScalerContext.h153 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
272 SkAutoTUnref<SkTypeface> fTypeface;
/external/chromium_org/third_party/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()
DSkScalerContext.h148 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
258 SkAutoTUnref<SkTypeface> fTypeface;
/external/chromium_org/third_party/skia/include/core/
DSkFont.h130 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface()
158 SkTypeface* fTypeface; variable
DSkPaint.h613 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface()
1033 SkTypeface* fTypeface;
/external/skia/include/core/
DSkFont.h124 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface()
152 SkTypeface* fTypeface; variable
DSkPaint.h610 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface()
1040 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/chromium_org/third_party/skia/tests/
DFontHostStreamTest.cpp73 SkTypeface* fTypeface = SkTypeface::CreateFromName("Georgia", in DEF_TEST() local
75 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/chromium_org/third_party/skia/experimental/PdfViewer/
DSkPdfFont.h261 SkTypeface* fTypeface; variable
264 SkPdfStandardFont(SkTypeface* typeface) : fTypeface(typeface) {} in SkPdfStandardFont()
269 paint->setTypeface(fTypeface); in drawOneChar()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFFont.h192 SkAutoTUnref<SkTypeface> fTypeface; variable
/external/skia/src/pdf/
DSkPDFFont.h192 SkAutoTUnref<SkTypeface> fTypeface; variable

12