Lines Matching defs:width
261 // Calculates the width of the glyph with the beginning and end of the line removed
262 runNotWhiteSpaceWidth += cluster.width();
268 SkScalar width = runNotWhiteSpaceWidth - (endAdvance - endRect.x() - endRect.width()) - startRect.x();
273 SkScalar width = runNotWhiteSpaceWidth - (endAdvance - endRect.GetLeft() - endRect.GetWidth()) - startRect.GetLeft();
276 rect.setXYWH(x, y, width, height);
298 // Gets the width of the first non-blank glyph at the end
302 endAdvance = cluster.width();
310 // Gets the width of the first non-blank glyph at the end
316 startWhiteSpaceWidth += cluster.width();
337 return fClipRect.width() + calculateTrailSpacesWidth();
342 // Calculates the width of the whitespace character at the end of the line
349 // doesn't calculate the width of a hard line wrap at the end of a line
353 spaceWidth += cluster.width();