Flutter Engine
The Flutter Engine
|
#include "include/core/SkPoint.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkSafe32.h"
#include "src/base/SkMathPriv.h"
#include "src/core/SkPointPriv.h"
#include "tests/Test.h"
#include <algorithm>
#include <array>
#include <cstdint>
Go to the source code of this file.
Macros | |
#define | MAX_COEFF_SHIFT 6 |
Functions | |
static int | cheap_distance (SkScalar dx, SkScalar dy) |
static int | estimate_distance (const SkPoint points[]) |
static SkScalar | compute_distance (const SkPoint points[]) |
static uint32_t | estimate_pointCount (int distance) |
static uint32_t | compute_pointCount (SkScalar d, SkScalar tol) |
static uint32_t | quadraticPointCount_EE (const SkPoint points[]) |
static uint32_t | quadraticPointCount_EC (const SkPoint points[], SkScalar tol) |
static uint32_t | quadraticPointCount_CE (const SkPoint points[]) |
static uint32_t | quadraticPointCount_CC (const SkPoint points[], SkScalar tol) |
static bool | one_d_pe (const int *array, const unsigned int count, skiatest::Reporter *reporter) |
static void | TestQuadPointCount (skiatest::Reporter *reporter) |
DEF_TEST (PathCoverage, reporter) | |
Variables | |
static const uint32_t | MAX_POINTS_PER_CURVE = 1 << MAX_COEFF_SHIFT |
static const int | gXY [] |
static const int | gSawtooth [] |
static const int | gOvalish [] |
static const int | gSharpSawtooth [] |
static const int | gRibbon [] |
#define MAX_COEFF_SHIFT 6 |
Definition at line 27 of file PathCoverageTest.cpp.
Definition at line 35 of file PathCoverageTest.cpp.
Definition at line 51 of file PathCoverageTest.cpp.
Definition at line 66 of file PathCoverageTest.cpp.
DEF_TEST | ( | PathCoverage | , |
reporter | |||
) |
Definition at line 165 of file PathCoverageTest.cpp.
Definition at line 46 of file PathCoverageTest.cpp.
|
inlinestatic |
Definition at line 55 of file PathCoverageTest.cpp.
|
static |
Definition at line 118 of file PathCoverageTest.cpp.
Definition at line 91 of file PathCoverageTest.cpp.
|
static |
Definition at line 86 of file PathCoverageTest.cpp.
Definition at line 81 of file PathCoverageTest.cpp.
|
static |
Definition at line 76 of file PathCoverageTest.cpp.
|
static |
Definition at line 157 of file PathCoverageTest.cpp.
|
static |
Definition at line 105 of file PathCoverageTest.cpp.
|
static |
Definition at line 114 of file PathCoverageTest.cpp.
|
static |
Definition at line 101 of file PathCoverageTest.cpp.
|
static |
Definition at line 109 of file PathCoverageTest.cpp.
|
static |
Definition at line 97 of file PathCoverageTest.cpp.
|
static |
Definition at line 28 of file PathCoverageTest.cpp.