Flutter Engine
The Flutter Engine
|
#include "include/core/SkPath.h"
#include "include/core/SkPathTypes.h"
#include "include/core/SkTypes.h"
#include "include/pathops/SkPathOps.h"
#include "include/private/base/SkPoint_impl.h"
#include "include/private/base/SkTDArray.h"
#include "src/base/SkArenaAlloc.h"
#include "src/pathops/SkAddIntersections.h"
#include "src/pathops/SkOpCoincidence.h"
#include "src/pathops/SkOpContour.h"
#include "src/pathops/SkOpEdgeBuilder.h"
#include "src/pathops/SkOpSegment.h"
#include "src/pathops/SkOpSpan.h"
#include "src/pathops/SkPathOpsCommon.h"
#include "src/pathops/SkPathOpsTypes.h"
#include "src/pathops/SkPathWriter.h"
Go to the source code of this file.
Functions | |
static bool | bridgeWinding (SkOpContourHead *contourList, SkPathWriter *writer) |
static bool | bridgeXor (SkOpContourHead *contourList, SkPathWriter *writer) |
static bool | path_is_trivial (const SkPath &path) |
bool | SimplifyDebug (const SkPath &path, SkPath *result SkDEBUGPARAMS(bool skipAssert) SkDEBUGPARAMS(const char *testName)) |
bool | Simplify (const SkPath &path, SkPath *result) |
|
static |
Definition at line 24 of file SkPathOpsSimplify.cpp.
|
static |
Definition at line 100 of file SkPathOpsSimplify.cpp.
|
static |
Definition at line 150 of file SkPathOpsSimplify.cpp.
Set this path to a set of non-overlapping contours that describe the same area as the original path. The curve order is reduced where possible so that cubics may be turned into quadratics, and quadratics maybe turned into lines.
Returns true if operation was able to produce a result; otherwise, result is unmodified.
path | The path to simplify. |
result | The simplified path. The result may be the input. |
Definition at line 283 of file SkPathOpsSimplify.cpp.
bool SimplifyDebug | ( | const SkPath & | path, |
SkPath *result | SkDEBUGPARAMSbool skipAssert) SkDEBUGPARAMS(const char *testName | ||
) |
Definition at line 205 of file SkPathOpsSimplify.cpp.