// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gfx/geometry/three_point_cubic_bezier.h" #include <algorithm> #include <cmath> #include <limits> #include "base/check_op.h" namespace gfx { ThreePointCubicBezier::ThreePointCubicBezier(double p1x, double p1y, double p2x, double p2y, double midpointx, double midpointy, double p3x, double p3y, double p4x, double p4y) : … { … } ThreePointCubicBezier::ThreePointCubicBezier( const ThreePointCubicBezier& other) = default; double ThreePointCubicBezier::Solve(double x) const { … } } // namespace gfx