Searched refs:fontMetrics (Results 1 – 12 of 12) sorted by relevance
/external/skqp/src/core/ |
D | SkRemoteGlyphCache.cpp | 468 SkFontMetrics fontMetrics; in writePendingGlyphs() local 469 fContext->getFontMetrics(&fontMetrics); in writePendingGlyphs() 470 serializer->write<SkFontMetrics>(fontMetrics); in writePendingGlyphs() 643 SkFontMetrics fontMetrics; in readStrikeData() local 644 if (!deserializer.read<SkFontMetrics>(&fontMetrics)) READ_FAILURE in readStrikeData() 665 *client_desc, std::move(scaler), &fontMetrics, in readStrikeData()
|
D | SkStrikeCache.cpp | 421 SkFontMetrics fontMetrics; in createStrike() local 423 fontMetrics = *maybeMetrics; in createStrike() 425 scaler->getFontMetrics(&fontMetrics); in createStrike() 428 return new Node{this, desc, std::move(scaler), fontMetrics, std::move(pinner)}; in createStrike()
|
D | SkStrike.cpp | 28 const SkFontMetrics& fontMetrics) in SkStrike() argument 31 , fFontMetrics{fontMetrics}
|
/external/skia/src/core/ |
D | SkRemoteGlyphCache.cpp | 399 SkFontMetrics fontMetrics; in writePendingGlyphs() local 400 fContext->getFontMetrics(&fontMetrics); in writePendingGlyphs() 401 serializer->write<SkFontMetrics>(fontMetrics); in writePendingGlyphs() 1009 SkFontMetrics fontMetrics{}; in readStrikeData() local 1011 if (!deserializer.read<SkFontMetrics>(&fontMetrics)) READ_FAILURE in readStrikeData() 1040 *client_desc, std::move(scaler), &fontMetrics, in readStrikeData()
|
D | SkScalerCache.cpp | 30 const SkFontMetrics* fontMetrics) in SkScalerCache() argument 33 , fFontMetrics{use_or_generate_metrics(fontMetrics, fScalerContext.get())}
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateApproximateWidths.java | 207 private double getTotalWidth(FontMetrics fontMetrics) { in getTotalWidth() argument 208 Rectangle2D rect1 = fontMetrics.getStringBounds(buffer, 0, bufferLen, g); in getTotalWidth()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 187 const SkAdvancedTypefaceMetrics* fontMetrics = SkPDFFont::GetMetrics(face, doc); in GetFontResource() local 188 SkASSERT(fontMetrics); // SkPDFDevice::internalDrawText ensures the typeface is good. in GetFontResource() 190 const SkAdvancedTypefaceMetrics& metrics = *fontMetrics; in GetFontResource()
|
/external/skqp/src/pdf/ |
D | SkPDFFont.cpp | 194 const SkAdvancedTypefaceMetrics* fontMetrics = SkPDFFont::GetMetrics(face, doc); in GetFontResource() local 195 SkASSERT(fontMetrics); // SkPDFDevice::internalDrawText ensures the typeface is good. in GetFontResource() 197 const SkAdvancedTypefaceMetrics& metrics = *fontMetrics; in GetFontResource()
|
/external/skia/tests/ |
D | SerializationTest.cpp | 470 SkFontMetrics fontMetrics, cloneMetrics; in TestTypefaceSerialization() local 471 font.getMetrics(&fontMetrics); in TestTypefaceSerialization() 473 REPORTER_ASSERT(reporter, fontMetrics == cloneMetrics, in TestTypefaceSerialization()
|
/external/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 928 SkFontMetrics fontMetrics; in getMetrics() local 929 run->fFont.getMetrics(&fontMetrics); in getMetrics() 930 StyleMetrics styleMetrics(&style, fontMetrics); in getMetrics()
|
/external/skqp/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 53 const SkFontMetrics& fontMetrics, in SkTestSVGTypeface() argument 59 , fFontMetrics(fontMetrics) in SkTestSVGTypeface()
|
/external/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 53 const SkFontMetrics& fontMetrics, in TestSVGTypeface() argument 59 , fFontMetrics(fontMetrics) in TestSVGTypeface()
|