diff options
author | caryclark <caryclark@google.com> | 2015-04-24 09:08:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-24 09:08:57 -0700 |
commit | 08bc8488fa2ea2d2a17efb1443f0ec6579d5a3c8 (patch) | |
tree | 9dbc81feaac0b80700e3fb7bc032adef3f1e062c /tools/pathops_sorter.htm | |
parent | e062db9cc6478745138cca964ee46839e413ab7b (diff) |
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
Diffstat (limited to 'tools/pathops_sorter.htm')
-rw-r--r-- | tools/pathops_sorter.htm | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/tools/pathops_sorter.htm b/tools/pathops_sorter.htm index 3d546d9e23..c6ec3d467e 100644 --- a/tools/pathops_sorter.htm +++ b/tools/pathops_sorter.htm @@ -7,25 +7,8 @@ <div style="height:0"> <div id="sect1"> -{{{5, 6}, {3, 5}, {5, 0}, {4, 3}}}, -{{{4.5360000000000182, 1.2239999999999371}, {4.0559999999999805, 2.9040000000000665}}}, id=1 -{{{4.1093749999999858, 2.8125000000000586}, {4.4843750000000142, 1.312499999999944}}}, id=2 -{{{8.7468579296817381, 10.411900254521452}, {0.41902943319982722, 0.94367937778258604}}}, id=3 -{{{4.3057224425668572, 2.0550770020134008}, {4.2925113773388723, 2.0515321686189738}}}, id=4 -{{4.4990035142054987, 11.169115071012422}, {3.6556891335276789, -2.825467308735897}}}, id=5 -</div> - -<div id="sect2"> -{{{5, 6}, {3, 5}, {5, 0}, {4, 3}}}, -{{{4.5360000000000182, 1.2239999999999371}, {4.0559999999999805, 2.9040000000000665}}}, id=1 -{{{4.1093749999999858, 2.8125000000000586}, {4.4843750000000142, 1.312499999999944}}}, id=2 -</div> - -<div id="sect3"> -{{{5, 6}, {3, 5}, {5, 0}, {4, 3}}}, -{{{8.7468579296817381, 10.411900254521452}, {0.41902943319982722, 0.94367937778258604}}}, id=3 -{{{4.3057224425668572, 2.0550770020134008}, {4.2925113773388723, 2.0515321686189738}}}, id=4 -{{4.4990035142054987, 11.169115071012422}, {3.6556891335276789, -2.825467308735897}}}, id=5 +{{{2.0185184099245816, 2.3784720550756902}, {1.9467591438442469, 2.1736109238117933}, {1.8796295076608658, 1.9722220152616501}, {1.8148146867752075, 1.7777775526046753}}}, +{{{2.0185184099245816, 2.3784720550756902}, {1.9467591438442469, 2.1736109238117933}, {1.8796295076608658, 1.9722220152616501}, {1.8148146867752075, 1.7777775526046753}}}, </div> </div> @@ -34,8 +17,6 @@ var testDivs = [ sect1, -sect2, -sect3, ]; var decimal_places = 3; |