Flutter Engine
The Flutter Engine
|
#include "include/core/SkSpan.h"
#include "include/private/base/SkFloatingPoint.h"
#include "src/pathops/SkPathOpsCubic.h"
#include "src/pathops/SkPathOpsPoint.h"
#include "tests/PathOpsTestCommon.h"
#include "tests/Test.h"
#include <string>
#include <cstddef>
Go to the source code of this file.
Functions | |
DEF_TEST (PathOpsCubicHull, reporter) | |
static bool | nearly_equal (double expected, double actual) |
static void | testConvertToPolynomial (skiatest::Reporter *reporter, const std::string &name, SkSpan< const SkDPoint > curveInputs, bool yValues, double expectedA, double expectedB, double expectedC, double expectedD) |
DEF_TEST (SkDCubicPolynomialCoefficients, reporter) | |
Variables | |
static const CubicPts | hullTests [] |
static const size_t | hullTests_count = std::size(hullTests) |
DEF_TEST | ( | PathOpsCubicHull | , |
reporter | |||
) |
Definition at line 23 of file PathOpsDCubicTest.cpp.
DEF_TEST | ( | SkDCubicPolynomialCoefficients | , |
reporter | |||
) |
Definition at line 61 of file PathOpsDCubicTest.cpp.
|
static |
Definition at line 33 of file PathOpsDCubicTest.cpp.
|
static |
Definition at line 40 of file PathOpsDCubicTest.cpp.
|
static |
Definition at line 17 of file PathOpsDCubicTest.cpp.
|
static |
Definition at line 21 of file PathOpsDCubicTest.cpp.