Lines Matching refs:cubic
288 SkPoint cubic[4]; in DEF_TEST() local
289 cubic[0].fX = r.nextRangeF(0, 500); in DEF_TEST()
290 cubic[0].fY = r.nextRangeF(0, 500); in DEF_TEST()
293 cubic[1].fX = r.nextRangeF(0, 500); in DEF_TEST()
294 cubic[1].fY = r.nextRangeF(0, 500); in DEF_TEST()
295 } while (SkPointPriv::DistanceToSqd(cubic[0], cubic[1]) < halfSquared); in DEF_TEST()
297 cubic[2].fX = r.nextRangeF(0, 500); in DEF_TEST()
298 cubic[2].fY = r.nextRangeF(0, 500); 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()
302 cubic[3].fX = r.nextRangeF(0, 500); in DEF_TEST()
303 cubic[3].fY = r.nextRangeF(0, 500); 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()
306 || SkPointPriv::DistanceToSqd(cubic[2], cubic[3]) < halfSquared); in DEF_TEST()
307 path.moveTo(cubic[0].fX, cubic[0].fY); in DEF_TEST()
308 path.cubicTo(cubic[1].fX, cubic[1].fY, cubic[2].fX, cubic[2].fY, cubic[3].fX, cubic[3].fY); in DEF_TEST()