aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkOpSegment.h
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@google.com>2016-12-14 11:56:16 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-14 17:26:58 +0000
commitff11428526843d3e03feb6843bd21f2d80536415 (patch)
tree686d62dbafaadd50ff59f2e60f541f429c7e170c /src/pathops/SkOpSegment.h
parent2052c86a30dffcf124fd7beac293e7fce87bf5cb (diff)
more simplify bugs
SkOpAngle::alignmentSameSide() Shifting an edge to align it for angle sorting may move a compared edge to the opposite side. For lines that are shifted, check to see if this is so. class SkOpContourBuilder If the path contains a pair of lines that cancel, skip them as early as possible. While not strictly necessary, this optimization is cheap and makes debugging much easier. SkOpEdgeBuilder::walk() case SkPath::kCubic_Verb: If max curvature or inflections break a cubic into pieces, make sure that the pieces are large enough to process. If not, add the broken piece back to a neighbor. Correct debugging that had gone stale. Add active span debugging cache so only changes are shown. TBR=reed@google.com BUG=skia:6401 Change-Id: I766f77e4fb9b76537cf5464961addb103114f5db Reviewed-on: https://skia-review.googlesource.com/5764 Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Cary Clark <caryclark@google.com>
Diffstat (limited to 'src/pathops/SkOpSegment.h')
-rw-r--r--src/pathops/SkOpSegment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkOpSegment.h b/src/pathops/SkOpSegment.h
index e9618ceeb2..116a630813 100644
--- a/src/pathops/SkOpSegment.h
+++ b/src/pathops/SkOpSegment.h
@@ -158,7 +158,7 @@ public:
const SkOpSegment* debugSegment(int id) const;
#if DEBUG_ACTIVE_SPANS
- void debugShowActiveSpans() const;
+ void debugShowActiveSpans(SkString* str) const;
#endif
#if DEBUG_MARK_DONE
void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding);