Lines Matching refs:cusp
95 SkPoint cusp[4] = {{0,0}, {1,1}, {1,0}, {0,1}}; in DEF_TEST() local
96 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 1); in DEF_TEST()
105 cusp[1].fY = (float)(1 - dy); in DEF_TEST()
106 cusp[2].fY = (float)(0 + dy); in DEF_TEST()
107 REPORTER_ASSERT(r, SkFindCubicInflections(cusp, T) == 2); in DEF_TEST()
111 cusp[1].fY = (float)(1 - 1.1 * dy); in DEF_TEST()
112 cusp[2].fY = (float)(0 + 1.1 * dy); in DEF_TEST()
113 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 2); in DEF_TEST()
117 cusp[1].fY = (float)(1 - .9 * dy); in DEF_TEST()
118 cusp[2].fY = (float)(0 + .9 * dy); in DEF_TEST()
119 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 1); in DEF_TEST()