Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkFont.cpp138 this->setSize(SkIntToScalar(SkFontPriv::kCanonicalTextSizeForPaths)); in setupForAsPaths()
139 return textSize / SkFontPriv::kCanonicalTextSizeForPaths; in setupForAsPaths()
304 SkFontPriv::ScaleFontMetrics(metrics, strikeToSourceScale); in getMetrics()
319 void SkFontPriv::ScaleFontMetrics(SkFontMetrics* metrics, SkScalar scale) { in ScaleFontMetrics()
337 SkRect SkFontPriv::GetFontBounds(const SkFont& font) { in GetFontBounds()
349 SkScalar SkFontPriv::ApproximateTransformedTextSize(const SkFont& font, const SkMatrix& matrix, in ApproximateTransformedTextSize()
364 int SkFontPriv::CountTextElements(const void* text, size_t byteLength, SkTextEncoding encoding) { in CountTextElements()
379 void SkFontPriv::GlyphsToUnichars(const SkFont& font, const SkGlyphID glyphs[], int count, in GlyphsToUnichars()
DSkFont_serial.cpp42 void SkFontPriv::Flatten(const SkFont& font, SkWriteBuffer& buffer) { in Flatten()
82 bool SkFontPriv::Unflatten(SkFont* font, SkReadBuffer& buffer) { in Unflatten()
DSkFontPriv.h19 class SkFontPriv {
DSkTextBlob.cpp322 const SkRect fontBounds = SkFontPriv::GetFontBounds(run.font()); in ConservativeRunBounds()
677 SkFontPriv::Flatten(it.font(), buffer); in Flatten()
723 SkFontPriv::Unflatten(&font, reader); in MakeFromBuffer()
882 scale = interceptFont.getSize() / SkFontPriv::kCanonicalTextSizeForPaths; in get_glyph_run_intercepts()
883 interceptFont.setSize(SkIntToScalar(SkFontPriv::kCanonicalTextSizeForPaths)); in get_glyph_run_intercepts()
DSkTextBlobTrace.cpp65 SkFontPriv::Flags(font), in DumpTrace()
DSkStrikeSpec.cpp117 SkMatrix textMatrix = SkFontPriv::MakeTextMatrix(font); in ShouldDrawAsPath()
DBUILD.bazel140 "SkFontPriv.h",
DSkTypeface.cpp442 int count = SkFontPriv::CountTextElements(text, byteLength, encoding); in textToGlyphs()
DSkScalerContext.cpp808 *m = SkFontPriv::MakeTextMatrix(fTextSize, fPreScaleX, fPreSkewX); in getLocalMatrix()
/external/skia/tests/
DFontTest.cpp29 SkFontPriv::Flatten(font, wb); in serialize_deserialize()
49 REPORTER_ASSERT(reporter, SkFontPriv::Unflatten(&clone, rb)); in serialize_deserialize()
DUnicodeTest.cpp65 SkFontPriv::GlyphsToUnichars(font, glyphs, N, uni2); in DEF_TEST()
DTypefaceTest.cpp579 SkFontPriv::GlyphsToUnichars(font, glyphs.get(), codepointCount, newCodepoints.get()); in DEF_TEST()
DSkRemoteGlyphCacheTest.cpp929 SkScalar approximateDeviceTextSize = SkFontPriv::ApproximateTransformedTextSize(font, matrix, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/text/gpu/
DSDFTControl.cpp84 SkScalar scaledTextSize = SkFontPriv::ApproximateTransformedTextSize(font, viewMatrix, textLoc); in getSDFFont()
DTextBlob.cpp266 SkFontPriv::ApproximateTransformedTextSize(run.font(), drawMatrix, in Make()
/external/skia/src/text/
DGlyphRun.cpp120 const SkRect fontBounds = SkFontPriv::GetFontBounds(font); in glyphrun_source_bounds()
237 if (runSize == 0 || !SkFontPriv::IsFinite(it.font())) { in blobToGlyphRunList()
/external/skia/include/core/
DSkFont.h534 friend class SkFontPriv; variable
DSkTypeface.h463 friend class SkFontPriv; // GetDefaultTypeface variable
/external/skia/tools/fonts/
DTestTypeface.cpp288 SkFontPriv::ScaleFontMetrics(metrics, fMatrix.getScaleY()); in generateFontMetrics()
DTestSVGTypeface.cpp292 SkFontPriv::ScaleFontMetrics(metrics, fMatrix.getScaleY()); in generateFontMetrics()
/external/skia/gm/
Ddrawatlas.cpp146 const SkRect fontb = SkFontPriv::GetFontBounds(font);
Dfontmgr.cpp246 SkRect fontBounds = SkFontPriv::GetFontBounds(font); in show_bounds()
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp610 font_bounds = SkFontPriv::GetFontBounds(run.fFont); in computeBounds()
/external/skia/src/svg/
DSkSVGDevice.cpp1029 SkFontPriv::GlyphsToUnichars(glyphRun.font(), glyphRun.glyphsIDs().data(), in SVGTextBuilder()
/external/skia/gn/
Dcore.gni356 "$_src/core/SkFontPriv.h",

12