fn flatten_cubic_bezier_with_t<F: FnMut(Pos2, f32)>( curve: &CubicBezierShape, tolerance: f32, callback: &mut F, )