Searched refs:widthLeft (Results 1 – 3 of 3) sorted by relevance
56 int widthLeft = width; in rectangleFits() local59 while (widthLeft > 0) { in rectangleFits()64 widthLeft -= fSkyline[i].fWidth; in rectangleFits()66 SkASSERT(i < fSkyline.count() || widthLeft <= 0); in rectangleFits()
58 int widthLeft = width; in rectangleFits() local61 while (widthLeft > 0) { in rectangleFits()66 widthLeft -= fSkyline[i].fWidth; in rectangleFits()68 SkASSERT(i < fSkyline.count() || widthLeft <= 0); in rectangleFits()
926 SkScalar widthLeft = width - line.fAdvance.fX; in wrap() local951 auto score = [widthLeft](const ShapedRun& run) -> SkScalar { in wrap()952 if (run.fAdvance.fX < widthLeft) { in wrap()955 return widthLeft - run.fAdvance.fX; in wrap()