Flutter Engine
The Flutter Engine
|
#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "src/pathops/SkIntersections.h"
#include "src/pathops/SkPathOpsLine.h"
#include "src/pathops/SkPathOpsPoint.h"
#include "tests/PathOpsTestCommon.h"
#include "tests/Test.h"
#include <algorithm>
#include <array>
#include <cstddef>
Go to the source code of this file.
Functions | |
static void | check_results (skiatest::Reporter *reporter, const SkDLine &line1, const SkDLine &line2, const SkIntersections &ts, bool nearAllowed) |
static void | testOne (skiatest::Reporter *reporter, const SkDLine &line1, const SkDLine &line2, bool nearAllowed) |
static void | testOneCoincident (skiatest::Reporter *reporter, const SkDLine &line1, const SkDLine &line2) |
DEF_TEST (PathOpsLineIntersection, reporter) | |
DEF_TEST (PathOpsLineIntersectionOneOff, reporter) | |
DEF_TEST (PathOpsLineIntersectionExactOneOff, reporter) | |
DEF_TEST (PathOpsLineIntersectionOneCoincident, reporter) | |
Variables | |
static const SkDLine | tests [][2] |
static const size_t | tests_count = std::size(tests) |
static const SkDLine | noIntersect [][2] |
static const size_t | noIntersect_count = std::size(noIntersect) |
static const SkDLine | coincidentTests [][2] |
static const size_t | coincidentTests_count = std::size(coincidentTests) |
|
static |
Definition at line 94 of file PathOpsLineIntersectionTest.cpp.
DEF_TEST | ( | PathOpsLineIntersection | , |
reporter | |||
) |
Definition at line 209 of file PathOpsLineIntersectionTest.cpp.
DEF_TEST | ( | PathOpsLineIntersectionExactOneOff | , |
reporter | |||
) |
Definition at line 238 of file PathOpsLineIntersectionTest.cpp.
DEF_TEST | ( | PathOpsLineIntersectionOneCoincident | , |
reporter | |||
) |
Definition at line 244 of file PathOpsLineIntersectionTest.cpp.
DEF_TEST | ( | PathOpsLineIntersectionOneOff | , |
reporter | |||
) |
Definition at line 232 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 114 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 158 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 66 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 92 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 53 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 64 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 20 of file PathOpsLineIntersectionTest.cpp.
|
static |
Definition at line 51 of file PathOpsLineIntersectionTest.cpp.