From eed356d281adbf93ecbd89cb23913a7861cd8578 Mon Sep 17 00:00:00 2001 From: caryclark Date: Wed, 14 Sep 2016 07:18:20 -0700 Subject: Rewriting path writer The path writer takes constructs the output path out of curves that satisfy the pathop operation. Curves contain lists of t/point pairs that may not be comparable to each other. To match up curve ends in the output path, look for adjacent curves to have a shared membership rather than comparing point values. Use path utilities to connect partial curve lists into closed contours. Share the angle code that determines if a curve has become a degenerate line with the path writer. Clean up some code on the way, and delete some unused functions. TBR=reed@google.com BUG=5188 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2321973005 Review-Url: https://codereview.chromium.org/2321973005 --- tests/PathOpsDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsDebug.cpp') diff --git a/tests/PathOpsDebug.cpp b/tests/PathOpsDebug.cpp index 164f9aeeea..c9635ea079 100755 --- a/tests/PathOpsDebug.cpp +++ b/tests/PathOpsDebug.cpp @@ -896,7 +896,7 @@ void SkOpAngle::dumpCurves() const { const SkOpAngle* first = this; const SkOpAngle* next = this; do { - next->fCurvePart.dumpID(next->segment()->debugID()); + next->fPart.fCurve.dumpID(next->segment()->debugID()); next = next->fNext; } while (next && next != first); } -- cgit v1.2.3