subdivide path when side-clipping fails
authorcaryclark <caryclark@google.com>
Thu, 20 Aug 2015 15:23:52 +0000 (08:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 15:23:52 +0000 (08:23 -0700)
commit7d173403f47bb85cfd5c42b69c734668e25e47f9
treef8591c88ed8ada294932022d506550b2e8e3990e
parent725c62054354dc0c7fb699bcd69687ec78083ae8
subdivide path when side-clipping fails

Please review concept; I'm OK not to check this in.

If the root finder fails, subdivide the curve and try again.
This is complicated by the reversed nature of the curves;
maybe it can be simpler, but how to do that escapes me.

R=reed@google.com
BUG=514246

Review URL: https://codereview.chromium.org/1299243002
gm/cubicpaths.cpp
src/core/SkEdgeClipper.cpp