aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkQuarticRoot.h
blob: 6ce08671e24925a3170d269804a43f3046b1d127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright 2012 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#ifndef SkDQuarticRoot_DEFINED
#define SkDQuarticRoot_DEFINED

int SkReducedQuarticRoots(const double t4, const double t3, const double t2, const double t1,
        const double t0, const bool oneHint, double s[4]);

int SkQuarticRootsReal(int firstCubicRoot, const double A, const double B, const double C,
        const double D, const double E, double s[4]);

#endif