Home
last modified time | relevance | path

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

/external/skia/tests/
DStrokerTest.cpp222 const SkScalar halfSquared = 0.5f * 0.5f; in DEF_TEST() local
226 } while (quad[0].distanceToSqd(quad[1]) < halfSquared); in DEF_TEST()
230 } while (quad[0].distanceToSqd(quad[2]) < halfSquared in DEF_TEST()
231 || quad[1].distanceToSqd(quad[2]) < halfSquared); in DEF_TEST()
274 const SkScalar halfSquared = 0.5f * 0.5f; in DEF_TEST() local
278 } while (cubic[0].distanceToSqd(cubic[1]) < halfSquared); in DEF_TEST()
282 } while ( cubic[0].distanceToSqd(cubic[2]) < halfSquared in DEF_TEST()
283 || cubic[1].distanceToSqd(cubic[2]) < halfSquared); in DEF_TEST()
287 } while ( cubic[0].distanceToSqd(cubic[3]) < halfSquared in DEF_TEST()
288 || cubic[1].distanceToSqd(cubic[3]) < halfSquared in DEF_TEST()
[all …]