Home
last modified time | relevance | path

Searched refs:oneThird (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/pathops/
DSkLineParameters.h139 double oneThird = 1 / 3.0; in cubicDistanceY() local
141 distance[index].fX = index * oneThird; in cubicDistanceY()
/external/skia/tests/
DDrawBitmapRectTest.cpp94 const SkScalar oneThird = SK_Scalar1 / 3; in test_treatAsSprite() local
95 const SkScalar smallScale = (size.width() + oneThird) / size.width(); in test_treatAsSprite()
/external/skia/src/core/
DSkEdge.cpp344 SkFDot6 oneThird = (a*8 - b*15 + 6*c + d) * 19 >> 9; in cubic_delta_from_line() local
347 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
DSkScan_Hairline.cpp307 const Sk2s oneThird(1.0f / 3.0f); in compute_cubic_segs() local
310 Sk2s p13 = oneThird * p3 + twoThird * p0; in compute_cubic_segs()
311 Sk2s p23 = oneThird * p0 + twoThird * p3; in compute_cubic_segs()