Searched refs:oneThird (Results 1 – 8 of 8) sorted by relevance
139 double oneThird = 1 / 3.0; in cubicDistanceY() local141 distance[index].fX = index * oneThird; in cubicDistanceY()
96 const SkScalar oneThird = SK_Scalar1 / 3; in test_treatAsSprite() local97 const SkScalar smallScale = (size.width() + oneThird) / size.width(); in test_treatAsSprite()
95 const SkScalar oneThird = SK_Scalar1 / 3; in test_treatAsSprite() local96 const SkScalar smallScale = (size.width() + oneThird) / size.width(); in test_treatAsSprite()
345 SkFDot6 oneThird = (a*8 - b*15 + 6*c + d) * 19 >> 9; in cubic_delta_from_line() local348 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
322 const Sk2s oneThird(1.0f / 3.0f); in compute_cubic_segs() local325 Sk2s p13 = oneThird * p3 + twoThird * p0; in compute_cubic_segs()326 Sk2s p23 = oneThird * p0 + twoThird * p3; in compute_cubic_segs()
345 SkFDot6 oneThird = (a*8 - b*15 + 6*c + d) * 19 >> 9; in cubic_delta_from_line() local348 return std::max(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()