Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkPathOpsCommon.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7#ifndef SkPathOpsCommon_DEFINED
8#define SkPathOpsCommon_DEFINED
9
12
13class SkOpAngle;
14class SkOpCoincidence;
15class SkOpContourHead;
16class SkOpSegment;
17class SkOpSpan;
18class SkOpSpanBase;
19class SkPath;
20
21template <typename T> class SkTDArray;
22
23const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr,
24 bool* sortable);
26 SkOpSpanBase** endPtr);
29bool FixWinding(SkPath* path);
30bool SortContourList(SkOpContourHead** , bool evenOdd, bool oppEvenOdd);
32bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result
33 SkDEBUGPARAMS(bool skipAssert)
34 SkDEBUGPARAMS(const char* testName));
35
36#endif
SkOpSpan * FindSortableTop(SkOpContourHead *)
bool OpDebug(const SkPath &one, const SkPath &two, SkPathOp op, SkPath *result SkDEBUGPARAMS(bool skipAssert) SkDEBUGPARAMS(const char *testName))
SkOpSpan * FindUndone(SkOpContourHead *)
SkOpSegment * FindChase(SkTDArray< SkOpSpanBase * > *chase, SkOpSpanBase **startPtr, SkOpSpanBase **endPtr)
bool FixWinding(SkPath *path)
bool HandleCoincidence(SkOpContourHead *, SkOpCoincidence *)
bool SortContourList(SkOpContourHead **, bool evenOdd, bool oppEvenOdd)
const SkOpAngle * AngleWinding(SkOpSpanBase *start, SkOpSpanBase *end, int *windingPtr, bool *sortable)
#define SkDEBUGPARAMS(...)
SkPathOp
Definition SkPathOps.h:22
glong glong end
GAsyncResult * result