Lines Matching defs:segment
964 // Each line segment keeps its position in text coordinates. Traverse all line
965 // segments and if the segment intersects with the given range, add the view
971 const internal::LineSegment* segment = &lines_[line].segments[i];
972 const Range intersection = segment->x_range.Intersect(x);
974 Rect rect(line_x + intersection.start() - segment->x_range.start(),
978 line_x += segment->x_range.length();