chromium/third_party/skia/src/core/SkCubicMap.cpp

/*
 * Copyright 2018 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "include/core/SkCubicMap.h"

#include "include/private/base/SkTPin.h"
#include "src/base/SkVx.h"

#include <algorithm>
#include <cmath>

static float eval_poly(float t, float b) {}

template <typename... Rest>
static float eval_poly(float t, float m, float b, Rest... rest) {}

static float cubic_solver(float A, float B, float C, float D) {}

static inline bool nearly_zero(SkScalar x) {}

static float compute_t_from_x(float A, float B, float C, float x) {}

float SkCubicMap::computeYFromX(float x) const {}

static inline bool coeff_nearly_zero(float delta) {}

SkCubicMap::SkCubicMap(SkPoint p1, SkPoint p2) {}

SkPoint SkCubicMap::computeFromT(float t) const {}