Flutter Engine
The Flutter Engine
|
#include "include/core/SkPath.h"
#include "include/core/SkPathTypes.h"
#include "include/core/SkPoint.h"
#include "include/core/SkTypes.h"
#include "src/base/SkTSort.h"
#include "src/core/SkPathPriv.h"
#include "src/pathops/SkPathOpsBounds.h"
#include "src/pathops/SkPathOpsConic.h"
#include "src/pathops/SkPathOpsCubic.h"
#include "src/pathops/SkPathOpsLine.h"
#include "src/pathops/SkPathOpsQuad.h"
#include "src/pathops/SkPathOpsRect.h"
#include "src/pathops/SkPathOpsTSect.h"
#include "src/pathops/SkPathOpsTypes.h"
#include "src/pathops/SkReduceOrder.h"
#include "tests/PathOpsTestCommon.h"
#include <cmath>
#include <cstring>
#include <utility>
Go to the source code of this file.
Functions | |
static double | calc_t_div (const SkDCubic &cubic, double precision, double start) |
static bool | add_simple_ts (const SkDCubic &cubic, double precision, TArray< double, true > *ts) |
static void | addTs (const SkDCubic &cubic, double precision, double start, double end, TArray< double, true > *ts) |
static void | toQuadraticTs (const SkDCubic *cubic, double precision, TArray< double, true > *ts) |
void | CubicToQuads (const SkDCubic &cubic, double precision, TArray< SkDQuad, true > &quads) |
void | CubicPathToQuads (const SkPath &cubicPath, SkPath *quadPath) |
void | CubicPathToSimple (const SkPath &cubicPath, SkPath *simplePath) |
bool | ValidBounds (const SkPathOpsBounds &bounds) |
bool | ValidConic (const SkDConic &conic) |
bool | ValidCubic (const SkDCubic &cubic) |
bool | ValidLine (const SkDLine &line) |
bool | ValidPoint (const SkDPoint &pt) |
bool | ValidPoints (const SkPoint *pts, int count) |
bool | ValidQuad (const SkDQuad &quad) |
bool | ValidVector (const SkDVector &v) |
|
static |
Definition at line 54 of file PathOpsTestCommon.cpp.
|
static |
Definition at line 66 of file PathOpsTestCommon.cpp.
|
static |
Definition at line 31 of file PathOpsTestCommon.cpp.
Definition at line 178 of file PathOpsTestCommon.cpp.
Definition at line 215 of file PathOpsTestCommon.cpp.
Definition at line 148 of file PathOpsTestCommon.cpp.
|
static |
Definition at line 78 of file PathOpsTestCommon.cpp.
bool ValidBounds | ( | const SkPathOpsBounds & | bounds | ) |
Definition at line 261 of file PathOpsTestCommon.cpp.
bool ValidConic | ( | const SkDConic & | conic | ) |
Definition at line 274 of file PathOpsTestCommon.cpp.
bool ValidCubic | ( | const SkDCubic & | cubic | ) |
Definition at line 286 of file PathOpsTestCommon.cpp.
bool ValidLine | ( | const SkDLine & | line | ) |
Definition at line 295 of file PathOpsTestCommon.cpp.
bool ValidPoint | ( | const SkDPoint & | pt | ) |
Definition at line 304 of file PathOpsTestCommon.cpp.
Definition at line 311 of file PathOpsTestCommon.cpp.
bool ValidQuad | ( | const SkDQuad & | quad | ) |
Definition at line 323 of file PathOpsTestCommon.cpp.
bool ValidVector | ( | const SkDVector & | v | ) |
Definition at line 332 of file PathOpsTestCommon.cpp.