Home
last modified time | relevance | path

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

/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp114 auto boxLine = selectableText->getLine(lineIndex); in UNIX_ONLY_TEST() local
115 SkScalar left = boxLine.fBounds.fLeft; in UNIX_ONLY_TEST()
116 for (auto& box : boxLine.fBoxGlyphs) { in UNIX_ONLY_TEST()
117 REPORTER_ASSERT(reporter, boxLine.fBounds.contains(box) || box.isEmpty()); in UNIX_ONLY_TEST()
122 GlyphIndex trailingSpaces = boxLine.fBoxGlyphs.size() - 1; in UNIX_ONLY_TEST()
133 REPORTER_ASSERT(reporter, boxLine.fTrailingSpacesEnd == testLine.trailingSpaces.fEnd); in UNIX_ONLY_TEST()
134 REPORTER_ASSERT(reporter, boxLine.fTextEnd == trailingSpaces); in UNIX_ONLY_TEST()
135 REPORTER_ASSERT(reporter, boxLine.fTextRange == testLine.lineText); in UNIX_ONLY_TEST()
136 REPORTER_ASSERT(reporter, boxLine.fIndex == lineIndex); in UNIX_ONLY_TEST()
137 REPORTER_ASSERT(reporter, boxLine.fIsHardBreak == testLine.hardBreak); in UNIX_ONLY_TEST()
[all …]