Lines Matching refs:line
77 const SkPoint positions[], // Positions relative to the line
126 auto& line = testVisitor.fTestLines[lineIndex];
127 REPORTER_ASSERT(reporter, line.runRange == Range<RunIndex>(runIndex, runIndex + 1));
128 REPORTER_ASSERT(reporter, line.runRange.width() == 1);
130 REPORTER_ASSERT(reporter, line.lineText == run.dirTextRange);
131 REPORTER_ASSERT(reporter, runIndex <= 1 ? line.hardBreak : !line.hardBreak);
132 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(verticalOffset, line.bounds.fTop));
134 // There is only one line that is wrapped and it has enough trailing spaces to exceed the line width
135 REPORTER_ASSERT(reporter, (line.index == 2 ? line.bounds.width() > 440.0f: line.bounds.width() < 440.0f));
136 verticalOffset = line.bounds.fBottom;