Home
last modified time | relevance | path

Searched refs:getRectsForRange (Results 1 – 10 of 10) sorted by relevance

/external/skia/tests/
DSkParagraphTest.cpp262 auto boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in DEF_TEST()
266 boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in DEF_TEST()
273 boxes = paragraph->getRectsForRange(4, 17, rect_height_style, rect_width_style); in DEF_TEST()
345 boxes = paragraph->getRectsForRange(5, 6, rect_height_style, rect_width_style); in DEF_TEST()
401 boxes = paragraph->getRectsForRange(5, 6, rect_height_style, rect_width_style); in DEF_TEST()
457 boxes = paragraph->getRectsForRange(5, 6, rect_height_style, rect_width_style); in DEF_TEST()
512 boxes = paragraph->getRectsForRange(0, 1, rect_height_style, rect_width_style); in DEF_TEST()
566 boxes = paragraph->getRectsForRange(0, 1, rect_height_style, rect_width_style); in DEF_TEST()
620 boxes = paragraph->getRectsForRange(5, 6, rect_height_style, rect_width_style); in DEF_TEST()
673 boxes = paragraph->getRectsForRange(5, 6, rect_height_style, rect_width_style); in DEF_TEST()
[all …]
/external/skia/modules/skparagraph/include/
DParagraph.h45 virtual std::vector<TextBox> getRectsForRange(unsigned start,
/external/skia/modules/canvaskit/
Dparagraph.js5 CanvasKit.Paragraph.prototype.getRectsForRange = function(start, end, hStyle, wStyle) { method in CanvasKit.Paragraph
Dparagraph_bindings.cpp136 std::vector<para::TextBox> boxes = self.getRectsForRange(start, end, heightStyle, widthStyle); in GetRectsForRange()
Dexterns.js765 CanvasKit.Paragraph.prototype.getRectsForRange = function() {}; method in CanvasKit.Paragraph
DCHANGELOG.md90 - The returned values from `SkParagraph.getRectsForRange` now have direction with value
/external/skia/samplecode/
DSampleParagraph.cpp1170 auto boxes = paragraph->getRectsForRange(from, to, rect_height_style, rect_width_style); in drawText()
1284 … auto rects = paragraph->getRectsForRange(7, 9, RectHeightStyle::kTight, RectWidthStyle::kTight); in onDrawContent()
1295 …auto rects = paragraph->getRectsForRange(query.fX, query.fY, RectHeightStyle::kTight, RectWidthSty… in onDrawContent()
1303 …auto miss = paragraph->getRectsForRange(query.fX, query.fY, RectHeightStyle::kTight, RectWidthStyl… in onDrawContent()
1337 …auto result = paragraph->getRectsForRange(65, 66, RectHeightStyle::kTight, RectWidthStyle::kTight); in onDrawContent()
2069 … auto boxes = paragraph->getRectsForRange(0, 100, RectHeightStyle::kTight, RectWidthStyle::kTight); in onDrawContent()
2170 … auto rf1 = paragraph->getRectsForRange(0, 1, RectHeightStyle::kTight, RectWidthStyle::kTight)[0]; in onDrawContent()
2171 … auto rf2 = paragraph->getRectsForRange(1, 2, RectHeightStyle::kTight, RectWidthStyle::kTight)[0]; in onDrawContent()
2172 … auto rfi = paragraph->getRectsForRange(2, 3, RectHeightStyle::kTight, RectWidthStyle::kTight)[0]; in onDrawContent()
2213 …auto result = paragraph->getRectsForRange(i, i + 1, RectHeightStyle::kTight, RectWidthStyle::kTigh… in onDrawContent()
/external/skia/modules/skparagraph/src/
DParagraphImpl.h117 std::vector<TextBox> getRectsForRange(unsigned start,
DParagraphImpl.cpp600 std::vector<TextBox> ParagraphImpl::getRectsForRange(unsigned start, in getRectsForRange() function in skia::textlayout::ParagraphImpl
/external/skia/modules/canvaskit/tests/
Dparagraph.spec.js192 let rects = paragraph.getRectsForRange(test.start, test.end, hStyle, wStyle);