Lines Matching defs:width
64 if (a.width() <= 0 || b.width() <= 0 || a.end < b.start || a.start > b.end) {
213 &fText[textRange.start], textRange.width(),
226 auto changeSize = ellSize - deletedRange.width();
247 if (newTextRange.width() == 0) {
274 deletedRange.start + ellSize : newTextRange.end + ellSize - deletedRange.width();
303 // end = 0 means the text does not exceed the width limit
524 // We cannot mark it as kLineBroken because the new width can be bigger than the old width
855 SkScalar width,
863 , fWidth(width)
890 fIsWhiteSpaceBreak = whiteSpacesBreakLen == fTextRange.width();
891 fIsIntraWordBreak = intraWordBreakLen == fTextRange.width();
933 if (block.fRange.width() > 0) {
950 fTextStyles[0].fRange.width() == fText.size() && fRuns.size() == 1) {
1021 SkScalar width,
1027 textCount.phraseWidth = width;
1028 allTextWidth += width;
1073 SkScalar width,
1081 middleEllipsisAddText(charStart, charEnd, allTextWidth, width, run.leftToRight());
1083 fClusters.emplace_back(this, runIndex, glyphStart, glyphEnd, text, width, height);
1172 advance.fX -= cluster.width();
1224 auto longestLine = std::max(line.width(), line.widthWithEllipsisSpaces()) + spacing;
1277 advance.fX -= cluster.width();
1667 return SkSpan<const char>(start, textRange.width());
1673 return SkSpan<Cluster>(&fClusters[clusterRange.start], clusterRange.width());
1689 return SkSpan<Block>(&fTextStyles[blockRange.start], blockRange.width());