From 65f553182ab7069378ef863d30094d0327f178d0 Mon Sep 17 00:00:00 2001 From: caryclark Date: Thu, 13 Nov 2014 06:58:52 -0800 Subject: These tests stress pathops by describing the union of circle-like paths that have tiny line segments embedded and double back to create near-coincident conditions. The fixes include - detect when finding the active top loops between two possible answers - preflight chasing winding to ensure answer is consistent - binary search more often when quadratic intersection fails - add more failure paths when an intersect is missed While this fixes the chrome bug, reenabling path ops in svg should be deferred until additional fixes are landed. TBR= BUG=421132 Committed: https://skia.googlesource.com/skia/+/6f726addf3178b01949bb389ef83cf14a1d7b6b2 Review URL: https://codereview.chromium.org/633393002 --- tools/pathops_sorter.htm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'tools/pathops_sorter.htm') diff --git a/tools/pathops_sorter.htm b/tools/pathops_sorter.htm index 8f00e914e0..a77abd6165 100644 --- a/tools/pathops_sorter.htm +++ b/tools/pathops_sorter.htm @@ -976,11 +976,38 @@ computed quadratics set {{{0.0451734141f, -59.9999847f}, {0.0438041016f, -59.9999886f}, {0.0424379632f, -59.9999886f}, {0.0410718247f, -59.9999886f}}} +
+{{{38.6568527f, 27.3431454f}, {41, 29.6862907f}, {41, 33}}} +{{{39.131218f, 27.8554096f}, {41, 30.0406685f}, {41, 33}}} +{{{44.6041069f, 27.9369583f}, {41.8078537f, 28.9057903f}, {39.131218f, 27.8554096f}}} +
+ +
+{{{-52.8062439,14.1493912}, {-53.6638947,10.948595}, {-52.0070419,8.07883835}} +{{-52.8054848,14.1522331}, {-53.6633072,10.9514809}, {-52.0066071,8.08163643}} +
+ +
+{{{-37.351398500000002, 10.0082998}, {-36.493801099999999, 13.209099800000001}, {-38.150600400000002, 16.0788002}} +{{-37.350898700000002, 10.010299699999999}, {-36.493099200000003, 13.2110004}, {-38.149799299999998, 16.080900199999999}}} +{{-37.320497331221297, 10.126736679362402}, {-37.320543141534543 fY=10.126556206903867 }} +{{-37.514829818825397, 14.722977321623326}, {=-37.514249241879924 fY=14.725464892492159 }} +
+ +
+{{38.5810318, 38.7318115}, {38.5877266, 38.7252655}, {38.5931816, 38.7199173}} +{{38.5931816, 38.7199173}, {38.5880508, 38.7249527}, {38.5810318, 38.7318115}} +
+