/external/skia/modules/skplaintexteditor/src/ |
D | shape.cpp | 274 result.glyphBounds.resize(textByteLen); in Shape() 275 for (SkRect& c : result.glyphBounds) { in Shape() 278 runHandler.setRunCallback(set_character_bounds, result.glyphBounds.data()); in Shape() 289 result.glyphBounds.push_back(runHandler.finalRect(font)); in Shape()
|
D | shape.h | 15 std::vector<SkRect> glyphBounds; member
|
D | editor.cpp | 477 line.fCursorPos = std::move(result.glyphBounds); in reshapeAll() 495 line.fCursorPos = std::move(result.glyphBounds); in reshapeAll()
|
/external/skia/modules/skottie/src/text/ |
D | SkottieShaper.cpp | 32 SkAutoSTArray<16, SkRect> glyphBounds; in ComputeBlobBounds() local 37 glyphBounds.reset(SkToInt(it.glyphCount())); in ComputeBlobBounds() 38 it.font().getBounds(it.glyphs(), it.glyphCount(), glyphBounds.get(), nullptr); in ComputeBlobBounds() 42 bounds.join(glyphBounds[i].makeOffset(it.pos()[i * 2 ], in ComputeBlobBounds()
|
/external/skia/modules/svg/src/ |
D | SkSVGText.cpp | 575 SkAutoSTArray<64, SkRect> glyphBounds; in onObjectBoundingBox() local 580 glyphBounds.reset(SkToInt(it.glyphCount())); in onObjectBoundingBox() 581 it.font().getBounds(it.glyphs(), it.glyphCount(), glyphBounds.get(), nullptr); in onObjectBoundingBox() 587 bounds.join(m.mapRect(glyphBounds[i])); in onObjectBoundingBox()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 736 SkRect glyphBounds = SkMatrix::Scale(xScale, yScale).mapRect(glyph->rect()); in get_glyph_bounds_device_space() local 737 glyphBounds.offset(xy); in get_glyph_bounds_device_space() 738 ctm.mapRect(&glyphBounds); // now in dev space. in get_glyph_bounds_device_space() 739 return glyphBounds; in get_glyph_bounds_device_space() 919 SkRect glyphBounds = get_glyph_bounds_device_space( in internalDrawGlyphRun() local 922 if (glyphBounds.isEmpty()) { in internalDrawGlyphRun() 923 if (!contains(clipStackBounds, {glyphBounds.x(), glyphBounds.y()})) { in internalDrawGlyphRun() 927 if (!clipStackBounds.intersects(glyphBounds)) { in internalDrawGlyphRun()
|
/external/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 408 SkAutoSTArray<16, SkRect> glyphBounds; in ComputeBlobBounds() local 413 glyphBounds.reset(SkToInt(it.glyphCount())); in ComputeBlobBounds() 414 it.font().getBounds(it.glyphs(), it.glyphCount(), glyphBounds.get(), nullptr); in ComputeBlobBounds() 418 bounds.join(glyphBounds[i].makeOffset(it.pos()[i * 2 ], in ComputeBlobBounds()
|
/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/skia/src/core/ |
D | SkTextBlob.cpp | 277 SkAutoSTArray<16, SkRect> glyphBounds(run.glyphCount()); in TightRunBounds() local 278 font.getBounds(run.glyphBuffer(), run.glyphCount(), glyphBounds.get(), nullptr); in TightRunBounds() 285 bounds.join(map_quad_to_rect(xform[i], glyphBounds[i])); in TightRunBounds() 303 bounds.join(glyphBounds[i].makeOffset(*glyphPosX, *glyphPosY)); in TightRunBounds()
|
/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/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 516 SkRect glyphBounds; in make_blob_causing_fallback() local 517 font.getWidths(runBuffer.glyphs, 1, nullptr, &glyphBounds); in make_blob_causing_fallback() 519 REPORTER_ASSERT(reporter, glyphBounds.width() > SkStrikeCommon::kSkSideTooBigForAtlas); in make_blob_causing_fallback()
|
/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/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/tools/fonts/ |
D | TestSVGTypeface.cpp | 1157 SkCOLRCanvas(SkRect glyphBounds, in SkCOLRCanvas() argument 1163 : SkNoDrawCanvas(glyphBounds.roundOut().width(), glyphBounds.roundOut().height()) in SkCOLRCanvas() 1164 , fBaselineOffset(glyphBounds.top()) in SkCOLRCanvas()
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 324 const glyphBounds = font.getGlyphBounds(glyphMalloc, paint); // $ExpectType Float32Array constant 325 font.getGlyphBounds(someGlyphs, null, glyphBounds);
|
/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 599 calculate_clip(const GrClip* clip, SkRect deviceBounds, SkRect glyphBounds) { in calculate_clip() argument 600 if (clip == nullptr && !deviceBounds.intersects(glyphBounds)) { in calculate_clip() 603 switch (auto result = clip->preApply(glyphBounds, GrAA::kNo); result.fEffect) { in calculate_clip() 615 if (clipRect.contains(glyphBounds)) { in calculate_clip()
|