Searched refs:currentSegmentDistance (Results 1 – 1 of 1) sorted by relevance
183 float currentSegmentDistance = 0.0; in placeGlyphAlongLine() local186 while (distanceToPrev + currentSegmentDistance <= absOffsetX) { in placeGlyphAlongLine()208 distanceToPrev += currentSegmentDistance; in placeGlyphAlongLine()209 currentSegmentDistance = util::dist<float>(prev, current); in placeGlyphAlongLine()213 const float segmentInterpolationT = (absOffsetX - distanceToPrev) / currentSegmentDistance; in placeGlyphAlongLine()