Lines Matching defs:step
54 static double binary_search(const SkDCubic& cubic, double step, const SkDPoint& pt, double t,
56 double firstStep = step;
66 if (step == 0) {
67 SkDebugf("binary search failed: step=%1.9g cubic=", firstStep);
74 double lastStep = step;
75 step /= 2;
80 // use larger x/y difference to choose step
82 t -= step;
92 t += step;
207 double step = 1e-6;
209 step = 1e-1;
211 step = 1e-2;
213 step = 1e-3;
215 step = 1e-4;
217 step = 1e-5;
221 double newT = binary_search(cubic, step, pt, t, &iters);
226 step *= 1.5;
227 SkASSERT_RELEASE(step < 1);