fix multiple intersection logic
authorcaryclark <caryclark@google.com>
Fri, 24 Apr 2015 16:08:57 +0000 (09:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Apr 2015 16:08:57 +0000 (09:08 -0700)
commit08bc8488fa2ea2d2a17efb1443f0ec6579d5a3c8
tree9dbc81feaac0b80700e3fb7bc032adef3f1e062c
parente062db9cc6478745138cca964ee46839e413ab7b
fix multiple intersection logic

When three or more curves intersect at the same point, ensure that
each curve records the intersections of the others. This fixes a
number of cubic tests.

TBR=reed@google.com
BUG=skia:3588

Review URL: https://codereview.chromium.org/1105943002
15 files changed:
src/pathops/SkOpContour.h
src/pathops/SkOpCubicHull.cpp
src/pathops/SkOpSegment.cpp
src/pathops/SkOpSegment.h
src/pathops/SkOpSpan.cpp
src/pathops/SkOpSpan.h
src/pathops/SkPathOpsCommon.cpp
src/pathops/SkPathOpsDebug.cpp
tests/PathOpsDebug.cpp
tests/PathOpsExtendedTest.cpp
tests/PathOpsIssue3651.cpp
tests/PathOpsOpCubicThreadedTest.cpp
tests/PathOpsOpTest.cpp
tools/pathops_sorter.htm
tools/pathops_visualizer.htm