Lines Matching defs:level
362 static Coord bezier_length_internal(std::vector<Point> &v1, Coord tolerance, int level)
379 if (upper - lower <= 2*tolerance || level >= 8) {
437 return bezier_length_internal(v1, 0.5 * tolerance, level + 1) +
438 bezier_length_internal(v2, 0.5 * tolerance, level + 1);
450 static Coord bezier_length_internal(Point a0, Point a1, Point a2, Coord tolerance, int level)
455 if (upper - lower <= 2*tolerance || level >= 8) {
465 return bezier_length_internal(a0, b1, b2, 0.5 * tolerance, level + 1) +
466 bezier_length_internal(b2, c1, a2, 0.5 * tolerance, level + 1);
476 static Coord bezier_length_internal(Point a0, Point a1, Point a2, Point a3, Coord tolerance, int level)
481 if (upper - lower <= 2*tolerance || level >= 8) {
494 return bezier_length_internal(a0, b1, b2, b3, 0.5 * tolerance, level + 1) +
495 bezier_length_internal(b3, c2, c1, a3, 0.5 * tolerance, level + 1);