minor fixes to cubics code and overall alignment of how bounds and tops are computed...
authorcaryclark <caryclark@google.com>
Wed, 29 Apr 2015 15:28:30 +0000 (08:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Apr 2015 15:28:30 +0000 (08:28 -0700)
commitaec251012542e971100e218bf463adbfb5d21d20
tree16c2e84c2d59d94b75d7d2bc50fec53c0e38a898
parent97fdea6c4393cf0102d7eee5790782509fb4f57b
minor fixes to cubics code and overall alignment of how bounds and tops are computed for all curve types

All but 17 extended tests work.

A helper function is privately added to SkPath.h to permit a test to modify a given point in a path.

BUG=skia:3588

Review URL: https://codereview.chromium.org/1107353004
33 files changed:
gyp/core.gypi
include/core/SkPath.h
src/core/SkPath.cpp
src/pathops/SkDCubicLineIntersection.cpp
src/pathops/SkOpContour.cpp
src/pathops/SkOpContour.h
src/pathops/SkOpSegment.cpp
src/pathops/SkOpSegment.h
src/pathops/SkPathOpsBounds.cpp [deleted file]
src/pathops/SkPathOpsBounds.h
src/pathops/SkPathOpsCommon.cpp
src/pathops/SkPathOpsCommon.h
src/pathops/SkPathOpsConic.cpp
src/pathops/SkPathOpsConic.h
src/pathops/SkPathOpsCubic.cpp
src/pathops/SkPathOpsCubic.h
src/pathops/SkPathOpsCurve.cpp [new file with mode: 0644]
src/pathops/SkPathOpsCurve.h
src/pathops/SkPathOpsDebug.h
src/pathops/SkPathOpsOp.cpp
src/pathops/SkPathOpsQuad.cpp
src/pathops/SkPathOpsQuad.h
src/pathops/SkPathOpsRect.cpp
src/pathops/SkPathOpsRect.h
src/pathops/SkPathOpsSimplify.cpp
tests/PathOpsBoundsTest.cpp
tests/PathOpsCubicLineIntersectionTest.cpp
tests/PathOpsDCubicTest.cpp
tests/PathOpsExtendedTest.cpp
tests/PathOpsOpTest.cpp
tests/PathOpsTestCommon.cpp
tools/pathops_sorter.htm
tools/pathops_visualizer.htm