Home
last modified time | relevance | path

Searched refs:widthSoFar (Results 1 – 2 of 2) sorted by relevance

/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp701 SkScalar widthSoFar = 0; in shape() local
713 if (widthSoFar + glyphWidth < width) { in shape()
714 widthSoFar += glyphWidth; in shape()
722 if (widthSoFar == 0) { in shape()
735 widthSoFar = 0; in shape()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp677 float widthSoFar = 0; in nextLine() local
679 while (glyph < fGlyphCount && widthSoFar + fGlyphWidths[glyph] <= width) { in nextLine()
680 widthSoFar += fGlyphWidths[glyph++]; in nextLine()
690 if (widthSoFar == 0 && glyph < fGlyphCount) { in nextLine()