Lines Matching defs:cusp
95 SkPoint cusp[4] = {{0,0}, {1,1}, {1,0}, {0,1}};
96 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 1);
99 // Find the height of the right side of "cusp" at which the distance between its inflection
105 cusp[1].fY = (float)(1 - dy);
106 cusp[2].fY = (float)(0 + dy);
107 REPORTER_ASSERT(r, SkFindCubicInflections(cusp, T) == 2);
111 cusp[1].fY = (float)(1 - 1.1 * dy);
112 cusp[2].fY = (float)(0 + 1.1 * dy);
113 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 2);
117 cusp[1].fY = (float)(1 - .9 * dy);
118 cusp[2].fY = (float)(0 + .9 * dy);
119 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 1);