aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/pathops_sorter.htm
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2014-06-18 07:24:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-18 07:24:19 -0700
commite4097e3a0b10bb0047a45b6949ca01826f0807a7 (patch)
tree1b04df78fa4a4aa239d09184e88929102d12886a /tools/pathops_sorter.htm
parent683e90611c8a536c3c5feedea27bbbefedf746d2 (diff)
Fix last pathops skp bug
This fixes the last bug discovered by iterating through the 800K skp corpus representing the top 1M websites. For every clip on the stack, the paths are replaced with the pathop intersection. The resulting draw is compared with the original draw for pixel errors. At least two prominent bugs remain. In one, the winding value is confused by a cubic with an inflection. In the other, a quad/cubic pair, nearly coincident, fails to find an intersection. These minor changes include ignoring very tiny self-intersections of cubics, and processing degenerate edges that don't connect to anything else. R=reed@android.com TBR=reed Author: caryclark@google.com Review URL: https://codereview.chromium.org/340103002
Diffstat (limited to 'tools/pathops_sorter.htm')
-rw-r--r--tools/pathops_sorter.htm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/pathops_sorter.htm b/tools/pathops_sorter.htm
index 865cbbf755..aac151af21 100644
--- a/tools/pathops_sorter.htm
+++ b/tools/pathops_sorter.htm
@@ -948,11 +948,17 @@ op intersect
{{fX=124.66667175292969 fY=152.33334350585937 }, {fX=127.02368927001953 fY=153.30966186523437 }} }
</div>
+<div id="skpcarrot_is24x">
+{{{1020.08099, 672.16198699999995}, {1020.08002, 630.73999000000003}, {986.50201400000003, 597.16198699999995}, {945.08099400000003, 597.16198699999995}}}
+{{{1020, 672}, {1020, 640.93395999999996}, {998.03301999999996, 618.96698000000004}}}
+</div>
+
</div>
<script type="text/javascript">
var testDivs = [
+ skpcarrot_is24x,
skpwww_wartepop_blogspot_com_br_6,
skpwww_wartepop_blogspot_com_br_6a,
skpwww_galaxystwo_com_4,