Searched refs:fontMetrics (Results 1 – 11 of 11) sorted by relevance
/external/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 379 SkFontMetrics fontMetrics; in paintDecorations() local 382 combined.getFontMetrics(&fontMetrics); in paintDecorations() 384 if ((fontMetrics.fFlags & SkFontMetrics::FontMetricsFlags::kUnderlineThicknessIsValid_Flag) && in paintDecorations() 385 fontMetrics.fUnderlineThickness > 0) { in paintDecorations() 386 thickness = fontMetrics.fUnderlineThickness; in paintDecorations() 401 … if ((fontMetrics.fFlags & SkFontMetrics::FontMetricsFlags::kUnderlinePositionIsValid_Flag) && in paintDecorations() 402 fontMetrics.fUnderlinePosition > 0) { in paintDecorations() 403 position = fontMetrics.fUnderlinePosition; in paintDecorations() 413 … if ((fontMetrics.fFlags & SkFontMetrics::FontMetricsFlags::kStrikeoutThicknessIsValid_Flag) && in paintDecorations() 414 fontMetrics.fStrikeoutThickness > 0) { in paintDecorations() [all …]
|
/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 | 678 SkFontMetrics fontMetrics; in writePendingGlyphs() local 679 fContext->getFontMetrics(&fontMetrics); in writePendingGlyphs() 680 serializer->write<SkFontMetrics>(fontMetrics); in writePendingGlyphs() 929 SkFontMetrics fontMetrics{}; in readStrikeData() local 931 if (!deserializer.read<SkFontMetrics>(&fontMetrics)) READ_FAILURE in readStrikeData() 957 *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 | 206 private double getTotalWidth(FontMetrics fontMetrics) { in getTotalWidth() argument 207 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/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()
|