Home
last modified time | relevance | path

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

/external/skqp/tests/
DStrokerTest.cpp239 const SkScalar halfSquared = 0.5f * 0.5f; in DEF_TEST() local
243 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST()
247 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST()
248 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST()
291 const SkScalar halfSquared = 0.5f * 0.5f; in DEF_TEST() local
295 } while (SkPointPriv::DistanceToSqd(cubic[0], cubic[1]) < halfSquared); in DEF_TEST()
299 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[2]) < halfSquared in DEF_TEST()
300 || SkPointPriv::DistanceToSqd(cubic[1], cubic[2]) < halfSquared); in DEF_TEST()
304 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[3]) < halfSquared in DEF_TEST()
305 || SkPointPriv::DistanceToSqd(cubic[1], cubic[3]) < halfSquared in DEF_TEST()
[all …]
/external/skia/tests/
DStrokerTest.cpp239 const SkScalar halfSquared = 0.5f * 0.5f; in DEF_TEST() local
243 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST()
247 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST()
248 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST()
291 const SkScalar halfSquared = 0.5f * 0.5f; in DEF_TEST() local
295 } while (SkPointPriv::DistanceToSqd(cubic[0], cubic[1]) < halfSquared); in DEF_TEST()
299 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[2]) < halfSquared in DEF_TEST()
300 || SkPointPriv::DistanceToSqd(cubic[1], cubic[2]) < halfSquared); in DEF_TEST()
304 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[3]) < halfSquared in DEF_TEST()
305 || SkPointPriv::DistanceToSqd(cubic[1], cubic[3]) < halfSquared in DEF_TEST()
[all …]