Home
last modified time | relevance | path

Searched refs:getTypefaceOrDefault (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/src/core/
DSkFont.cpp146 return this->getTypefaceOrDefault()->unicharToGlyph(uni); in unicharToGlyph()
150 this->getTypefaceOrDefault()->unicharsToGlyphs(uni, count, glyphs); in unicharsToGlyphs()
155 return this->getTypefaceOrDefault()->textToGlyphs(text, byteLength, encoding, in textToGlyphs()
306 SkTypeface* SkFont::getTypefaceOrDefault() const { in getTypefaceOrDefault() function in SkFont
339 SkTypeface* typeface = font.getTypefaceOrDefault(); in GetFontBounds()
367 auto typeface = font.getTypefaceOrDefault(); in GlyphsToUnichars()
DSkTextBlobTrace.cpp61 font.getTypefaceOrDefault()->uniqueID(), in DumpTrace()
DSkScalerContext.cpp1004 SkTypeface* typeface = font.getTypefaceOrDefault(); in MakeRecAndEffects()
/third_party/skia/gm/
Duserfont.cpp21 const float upem = font.getTypefaceOrDefault()->getUnitsPerEm(); in make_tf()
35 builder.setFontStyle(font.getTypefaceOrDefault()->fontStyle()); in make_tf()
Dfontmgr.cpp233 int numGlyphs = font.getTypefaceOrDefault()->countGlyphs(); in show_bounds()
301 font.getTypefaceOrDefault()->getFamilyName(&name); in show_bounds()
352 SkTypeface* typeface = font.getTypefaceOrDefault(); in onDraw()
Dpdf_never_embed.cpp39 if (!font.getTypefaceOrDefault()) {
Dtypeface.cpp44 SkScalar scale = font.getSize() / font.getTypefaceOrDefault()->getUnitsPerEm(); in applyKerning()
55 SkTypeface* face = font.getTypefaceOrDefault(); in drawKernText()
/third_party/skia/modules/skshaper/src/
DSkShaper_coretext.cpp76 skfont.setTypeface(sk_ref_sp(skfont.getTypefaceOrDefault())); in shape()
130 auto typeface = font.getTypefaceOrDefault(); in create_ctfont_from_font()
DSkShaper_primitive.cpp149 skfont.setTypeface(sk_ref_sp(skfont.getTypefaceOrDefault())); in shape()
/third_party/skia/bench/
DCmapBench.cpp45 SkTypeface* face = r.fFont.getTypefaceOrDefault(); in charsToGlyphs_proc()
/third_party/skia/include/core/
DSkFont.h207 SkTypeface* getTypefaceOrDefault() const;
/third_party/skia/tests/
DFontMgrTest.cpp50 REPORTER_ASSERT(reporter, font.getTypefaceOrDefault() == newFont.getTypefaceOrDefault()); in DEF_TEST()
DTextBlobTest.cpp192 … REPORTER_ASSERT(reporter, defaultFont.getTypefaceOrDefault() != font.getTypefaceOrDefault()); in TestPaintProps()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp830 SkTypeface* typeface = glyphRunFont.getTypefaceOrDefault(); in internalDrawGlyphRun()
/third_party/skia/fuzz/
DFuzzCanvas.cpp884 int glyphRange = font.getTypefaceOrDefault()->countGlyphs(); in make_fuzz_text()
/third_party/skia/src/xps/
DSkXPSDevice.cpp1733 SkTypeface* typeface = font.getTypefaceOrDefault(); in CreateTypefaceUse()
/third_party/skia/tools/debugger/
DDrawCommand.cpp876 SkTypeface* typeface = font.getTypefaceOrDefault(); in apply_font_typeface()