Searched refs:widthSoFar (Results 1 – 3 of 3) sorted by relevance
98 float widthSoFar = 0; in textCharacterOffsets() local100 widthSoFar += widths[i]; in textCharacterOffsets()101 offsets[i] = lroundf(widthSoFar); in textCharacterOffsets()
750 float widthSoFar = 0; in drawGlyphBuffer() local751 widthSoFar += glyphBuffer.advanceAt(0).width(); in drawGlyphBuffer()768 widthSoFar += glyphBuffer.advanceAt(nextGlyph).width(); in drawGlyphBuffer()778 return widthSoFar; in drawGlyphBuffer()
675 float widthSoFar = 0; in nextLine() local677 while (glyph < fGlyphCount && widthSoFar + fGlyphWidths[glyph] <= width) { in nextLine()678 widthSoFar += fGlyphWidths[glyph++]; in nextLine()688 if (widthSoFar == 0 && glyph < fGlyphCount) { in nextLine()