Searched refs:widthSoFar (Results 1 – 2 of 2) sorted by relevance
701 SkScalar widthSoFar = 0; in shape() local713 if (widthSoFar + glyphWidth < width) { in shape()714 widthSoFar += glyphWidth; in shape()722 if (widthSoFar == 0) { in shape()735 widthSoFar = 0; in shape()
677 float widthSoFar = 0; in nextLine() local679 while (glyph < fGlyphCount && widthSoFar + fGlyphWidths[glyph] <= width) { in nextLine()680 widthSoFar += fGlyphWidths[glyph++]; in nextLine()690 if (widthSoFar == 0 && glyph < fGlyphCount) { in nextLine()