Searched refs:glyphBounds (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 982 SkRect glyphBounds = {glyph.fLeft * xScale, in get_glyph_bounds_device_space() local 986 glyphBounds.offset(xy); in get_glyph_bounds_device_space() 987 ctm.mapRect(&glyphBounds); // now in dev space. in get_glyph_bounds_device_space() 988 return glyphBounds; in get_glyph_bounds_device_space() 1181 SkRect glyphBounds = get_glyph_bounds_device_space( in internalDrawGlyphRun() local 1184 if (glyphBounds.isEmpty()) { in internalDrawGlyphRun() 1185 if (!contains(clipStackBounds, {glyphBounds.x(), glyphBounds.y()})) { in internalDrawGlyphRun() 1189 if (!clipStackBounds.intersects(glyphBounds)) { in internalDrawGlyphRun()
|
/external/skqp/src/pdf/ |
D | SkPDFDevice.cpp | 995 SkRect glyphBounds = {glyph.fLeft * xScale, in get_glyph_bounds_device_space() local 999 glyphBounds.offset(xy); in get_glyph_bounds_device_space() 1000 ctm.mapRect(&glyphBounds); // now in dev space. in get_glyph_bounds_device_space() 1001 return glyphBounds; in get_glyph_bounds_device_space() 1194 SkRect glyphBounds = get_glyph_bounds_device_space( in internalDrawGlyphRun() local 1197 if (glyphBounds.isEmpty()) { in internalDrawGlyphRun() 1198 if (!contains(clipStackBounds, {glyphBounds.x(), glyphBounds.y()})) { in internalDrawGlyphRun() 1202 if (!clipStackBounds.intersects(glyphBounds)) { in internalDrawGlyphRun()
|
/external/skqp/src/gpu/text/ |
D | GrTextBlob.h | 323 void joinGlyphBounds(const SkRect& glyphBounds) { in joinGlyphBounds() argument 324 fVertexBounds.joinNonEmptyArg(glyphBounds); in joinGlyphBounds()
|
/external/skia/src/gpu/text/ |
D | GrTextBlob.h | 323 void joinGlyphBounds(const SkRect& glyphBounds) { in joinGlyphBounds() argument 324 fVertexBounds.joinNonEmptyArg(glyphBounds); in joinGlyphBounds()
|
/external/skqp/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 1025 SkCOLRCanvas(SkRect glyphBounds, SkGlyphID glyphId, in SkCOLRCanvas() argument 1028 : SkNoDrawCanvas(glyphBounds.roundOut().width(), glyphBounds.roundOut().height()) in SkCOLRCanvas() 1031 , fBaselineOffset(glyphBounds.top()) in SkCOLRCanvas()
|
/external/skia/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 1023 SkCOLRCanvas(SkRect glyphBounds, SkGlyphID glyphId, in SkCOLRCanvas() argument 1026 : SkNoDrawCanvas(glyphBounds.roundOut().width(), glyphBounds.roundOut().height()) in SkCOLRCanvas() 1029 , fBaselineOffset(glyphBounds.top()) in SkCOLRCanvas()
|
/external/skia/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 458 SkRect glyphBounds; in make_blob_causing_fallback() local 459 font.getWidths(runBuffer.glyphs, 1, nullptr, &glyphBounds); in make_blob_causing_fallback() 461 REPORTER_ASSERT(reporter, glyphBounds.width() > SkStrikeCommon::kSkSideTooBigForAtlas); in make_blob_causing_fallback()
|
/external/skqp/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 458 SkRect glyphBounds; in make_blob_causing_fallback() local 459 font.getWidths(runBuffer.glyphs, 1, nullptr, &glyphBounds); in make_blob_causing_fallback() 461 REPORTER_ASSERT(reporter, glyphBounds.width() > SkStrikeCommon::kSkSideTooBigForAtlas); in make_blob_causing_fallback()
|
/external/skqp/src/core/ |
D | SkTextBlob.cpp | 269 SkAutoSTArray<16, SkRect> glyphBounds(run.glyphCount()); in TightRunBounds() local 270 font.getBounds(run.glyphBuffer(), run.glyphCount(), glyphBounds.get(), nullptr); in TightRunBounds() 287 bounds.join(glyphBounds[i].makeOffset(*glyphPosX, *glyphPosY)); in TightRunBounds()
|
/external/skia/src/core/ |
D | SkTextBlob.cpp | 269 SkAutoSTArray<16, SkRect> glyphBounds(run.glyphCount()); in TightRunBounds() local 270 font.getBounds(run.glyphBuffer(), run.glyphCount(), glyphBounds.get(), nullptr); in TightRunBounds() 287 bounds.join(glyphBounds[i].makeOffset(*glyphPosX, *glyphPosY)); in TightRunBounds()
|