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.cpp134 const SkScalar oneThird = SK_Scalar1 / 3; in test_treatAsSprite() local
135 const SkScalar smallScale = (size.width() + oneThird) / size.width(); in test_treatAsSprite()
/external/skia/src/core/
DSkEdge.cpp329 SkFDot6 oneThird = ((a << 3) - ((b << 4) - b) + 6*c + d) * 19 >> 9; in cubic_delta_from_line() local
332 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
DSkScan_Hairline.cpp258 const Sk2s oneThird(1.0f / 3.0f); in compute_cubic_segs() local
261 Sk2s p13 = oneThird * p3 + twoThird * p0; in compute_cubic_segs()
262 Sk2s p23 = oneThird * p0 + twoThird * p3; in compute_cubic_segs()