Lines Matching refs:boxes
1822 std::vector<TextBox>& boxes) const
1825 auto startBox = boxes.size();
1831 [textRange0, rectHeightStyle, rectWidthStyle, &boxes, &lastRun, startBox, this]
1835 [run, runOffsetInLine, textRange0, rectHeightStyle, rectWidthStyle, &boxes, &lastRun, startBox, this]
1960 // Check if we can merge two boxes instead of adding a new one
1961 auto merge = [&lastRun, &context, &boxes](SkRect clip) {
1963 if (!boxes.empty() &&
1976 auto& lastBox = boxes.back();
1992 boxes.emplace_back(clip, context.run->getTextDirection());
1995 boxes.emplace_back(trailingSpaces, paragraphStyle.getTextDirection());
2002 auto left = boxes[startBox];
2003 auto right = boxes.back();
2007 boxes.insert(boxes.begin() + startBox + 1, left);
2014 boxes.emplace_back(right);
2023 for (auto& r : boxes) {
2187 void TextLine::getRectsForPlaceholders(std::vector<TextBox>& boxes) {
2193 [&boxes, this](const Run* run, SkScalar runOffset, TextRange textRange,
2215 boxes.emplace_back(clip, run->getTextDirection());