Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: tools/pathops_visualizer.htm

Issue 575553003: fix battlefield website by disallowing very small coordinates (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix chrome crash Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/pathops_sorter.htm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <div height="0" hidden="true"> 3 <div height="0" hidden="true">
4 4
5 <div id="issue2808"> 5 <div id="battleOp6001">
6 RunTestSet [issue2808] 6 RunTestSet [battleOp6001]
7 7
8 {{509.203003,385.60199}, {509.203003,415.688385}, {487.928711,436.962708}}, 8 {{0,-59.9999962}, {0,-83}},
9 {{487.928711,436.962708}, {466.654388,458.237}, {436.567993,458.237}}, 9 {{0,-83}, {0.0189378317,-83}, {0.0378723554,-82.9999924}, {0.0568068773,-82.9999 771}},
10 {{436.567993,458.237}, {406.481598,458.237}, {385.207275,436.962708}}, 10 {{0.0568068773,-82.9999771}, {0.06248549,-82.9999771}},
11 {{385.207275,436.962708}, {363.932983,415.688385}, {363.932983,385.60199}}, 11 {{0.06248549,-82.9999771}, {0.0451734141,-59.9999847}},
12 {{363.932983,385.60199}, {363.932983,355.515594}, {385.207275,334.241272}}, 12 {{0.0451734141,-59.9999847}, {0.0438041016,-59.9999886}, {0.0424379632,-59.99998 86}, {0.0410718247,-59.9999886}},
13 {{385.207275,334.241272}, {406.481598,312.96698}, {436.567993,312.96698}}, 13 {{0.0410718247,-59.9999886}, {0.0410667397,-59.9999847}},
14 {{436.567993,312.96698}, {466.654388,312.96698}, {487.928711,334.241272}}, 14 {{0.0410667397,-59.9999847}, {0.0273789354,-59.9999924}, {0.0136889406,-59.99999 62}, {0,-59.9999962}},
15 {{487.928711,334.241272}, {509.203003,355.515594}, {509.203003,385.60199}},
16 op union 15 op union
17 {{449.033997,290.872986}, {449.033997,301.028259}, {441.853149,308.209106}}, 16 {{0.0624898896,-82.9999771}, {0.0931733027,-82.9999542}, {0.123859018,-82.999908 4}, {0.154544711,-82.999855}},
18 {{441.853149,308.209106}, {434.672272,315.389984}, {424.516998,315.389984}}, 17 {{0.154544711,-82.999855}, {0.111722,-59.999897}},
19 {{424.516998,315.389984}, {414.361725,315.389984}, {407.180847,308.209106}}, 18 {{0.111722,-59.999897}, {0.0895366594,-59.999939}, {0.0673542097,-59.9999695}, { 0.0451717526,-59.9999847}},
20 {{407.180847,308.209106}, {400,301.028259}, {400,290.872986}}, 19 {{0.0451717526,-59.9999847}, {0.0624898896,-82.9999771}},
21 {{400,290.872986}, {400,280.717712}, {407.180847,273.536865}}, 20 debugShowCubicIntersection no self intersect {{0,-83}, {0.0189378317,-83}, {0.03 78723554,-82.9999924}, {0.0568068773,-82.9999771}}
22 {{407.180847,273.536865}, {414.361725,266.355988}, {424.516998,266.355988}}, 21 debugShowCubicIntersection no self intersect {{0.0451734141,-59.9999847}, {0.043 8041016,-59.9999886}, {0.0424379632,-59.9999886}, {0.0410718247,-59.9999886}}
23 {{424.516998,266.355988}, {434.672272,266.355988}, {441.853149,273.536865}}, 22 debugShowCubicIntersection no self intersect {{0.0410667397,-59.9999847}, {0.027 3789354,-59.9999924}, {0.0136889406,-59.9999962}, {0,-59.9999962}}
24 {{441.853149,273.536865}, {449.033997,280.717712}, {449.033997,290.872986}}, 23 debugShowCubicLineIntersection wtTs[0]=0 {{0,-83}, {0.0189378317,-83}, {0.037872 3554,-82.9999924}, {0.0568068773,-82.9999771}} {{0,-83}} wnTs[0]=1 {{0,-59.99999 62}, {0,-83}}
25 debugShowQuadIntersection wtTs[0]=1 {{449.033997,290.872986}, {449.033997,301.02 8259}, {441.853149,308.209106}} {{441.853149,308.209106}} wnTs[0]=0 {{441.853149 ,308.209106}, {434.672272,315.389984}, {424.516998,315.389984}} 24 debugShowCubicLineIntersection wtTs[0]=1 {{0.0410667397,-59.9999847}, {0.0273789 354,-59.9999924}, {0.0136889406,-59.9999962}, {0,-59.9999962}} {{0,-59.9999962}} wnTs[0]=0 {{0,-59.9999962}, {0,-83}}
26 debugShowQuadIntersection wtTs[0]=0 {{449.033997,290.872986}, {449.033997,301.02 8259}, {441.853149,308.209106}} {{449.033997,290.872986}} wnTs[0]=1 {{441.853149 ,273.536865}, {449.033997,280.717712}, {449.033997,290.872986}} 25 debugShowCubicLineIntersection wtTs[0]=1 {{0,-83}, {0.0189378317,-83}, {0.037872 3554,-82.9999924}, {0.0568068773,-82.9999771}} {{0.0568068773,-82.9999771}} wnTs [0]=0 {{0.0568068773,-82.9999771}, {0.06248549,-82.9999771}}
27 debugShowQuadIntersection wtTs[0]=1 {{441.853149,308.209106}, {434.672272,315.38 9984}, {424.516998,315.389984}} {{424.516998,315.389984}} wnTs[0]=0 {{424.516998 ,315.389984}, {414.361725,315.389984}, {407.180847,308.209106}} 26 debugShowCubicLineIntersection no intersect {{0,-83}, {0.0189378317,-83}, {0.037 8723554,-82.9999924}, {0.0568068773,-82.9999771}} {{0.06248549,-82.9999771}, {0. 0451734141,-59.9999847}}
28 debugShowQuadIntersection wtTs[0]=1 {{424.516998,315.389984}, {414.361725,315.38 9984}, {407.180847,308.209106}} {{407.180847,308.209106}} wnTs[0]=0 {{407.180847 ,308.209106}, {400,301.028259}, {400,290.872986}} 27 debugShowLineIntersection wtTs[0]=0 {{0.06248549,-82.9999771}, {0.0451734141,-59 .9999847}} {{0.06248549,-82.9999771}} wnTs[0]=1 {{0.0568068773,-82.9999771}, {0. 06248549,-82.9999771}}
29 debugShowQuadIntersection wtTs[0]=1 {{407.180847,308.209106}, {400,301.028259}, {400,290.872986}} {{400,290.872986}} wnTs[0]=0 {{400,290.872986}, {400,280.71771 2}, {407.180847,273.536865}} 28 debugShowCubicLineIntersection wtTs[0]=0 {{0.0451734141,-59.9999847}, {0.0438041 016,-59.9999886}, {0.0424379632,-59.9999886}, {0.0410718247,-59.9999886}} {{0.04 51734141,-59.9999847}} wnTs[0]=1 {{0.06248549,-82.9999771}, {0.0451734141,-59.99 99847}}
30 debugShowQuadIntersection wtTs[0]=1 {{400,290.872986}, {400,280.717712}, {407.18 0847,273.536865}} {{407.180847,273.536865}} wnTs[0]=0 {{407.180847,273.536865}, {414.361725,266.355988}, {424.516998,266.355988}} 29 debugShowCubicLineIntersection wtTs[0]=1 {{0.0451734141,-59.9999847}, {0.0438041 016,-59.9999886}, {0.0424379632,-59.9999886}, {0.0410718247,-59.9999886}} {{0.04 10718247,-59.9999886}} wnTs[0]=0 {{0.0410718247,-59.9999886}, {0.0410667397,-59. 9999847}}
31 debugShowQuadIntersection wtTs[0]=1 {{407.180847,273.536865}, {414.361725,266.35 5988}, {424.516998,266.355988}} {{424.516998,266.355988}} wnTs[0]=0 {{424.516998 ,266.355988}, {434.672272,266.355988}, {441.853149,273.536865}} 30 debugShowCubicLineIntersection wtTs[0]=0 {{0.0410667397,-59.9999847}, {0.0273789 354,-59.9999924}, {0.0136889406,-59.9999962}, {0,-59.9999962}} {{0.0410667397,-5 9.9999847}} wnTs[0]=1 {{0.0410718247,-59.9999886}, {0.0410667397,-59.9999847}}
32 debugShowQuadIntersection wtTs[0]=1 {{424.516998,266.355988}, {434.672272,266.35 5988}, {441.853149,273.536865}} {{441.853149,273.536865}} wnTs[0]=0 {{441.853149 ,273.536865}, {449.033997,280.717712}, {449.033997,290.872986}} 31 debugShowCubicLineIntersection no intersect {{0,-83}, {0.0189378317,-83}, {0.037 8723554,-82.9999924}, {0.0568068773,-82.9999771}} {{0.0451717526,-59.9999847}, { 0.0624898896,-82.9999771}}
33 debugShowQuadIntersection no intersect {{441.853149,308.209106}, {434.672272,315 .389984}, {424.516998,315.389984}} {{385.207275,334.241272}, {406.481598,312.966 98}, {436.567993,312.96698}} 32 debugShowLineIntersection wtTs[0]=1 {{0.0451717526,-59.9999847}, {0.0624898896,- 82.9999771}} {{0.06248549,-82.9999771}} wnTs[0]=1 {{0.0568068773,-82.9999771}, { 0.06248549,-82.9999771}}
34 debugShowQuadIntersection no intersect {{441.853149,308.209106}, {434.672272,315 .389984}, {424.516998,315.389984}} {{436.567993,312.96698}, {466.654388,312.9669 8}, {487.928711,334.241272}} 33 debugShowCubicLineIntersection wtTs[0]=0.999975033 {{0.111722,-59.999897}, {0.08 95366594,-59.999939}, {0.0673542097,-59.9999695}, {0.0451717526,-59.9999847}} {{ 0.0451734141,-59.9999847}} wnTs[0]=1 {{0.06248549,-82.9999771}, {0.0451734141,-5 9.9999847}}
35 debugShowQuadIntersection wtTs[0]=0.266471573 {{424.516998,315.389984}, {414.361 725,315.389984}, {407.180847,308.209106}} {{419.31601,314.880096}} wnTs[0]=0.700 123 {{385.207275,334.241272}, {406.481598,312.96698}, {436.567993,312.96698}} 34 debugShowLineIntersection wtTs[0]=0 {{0.06248549,-82.9999771}, {0.0451734141,-59 .9999847}} {{0.06248549,-82.9999771}} wtTs[1]=1 {{0.0451734141,-59.9999847}} wnT s[0]=1 {{0.0451717526,-59.9999847}, {0.0624898896,-82.9999771}} wnTs[1]=5.439268 79e-011
36 debugShowQuadIntersection wtTs[0]=1 {{509.203003,385.60199}, {509.203003,415.688 385}, {487.928711,436.962708}} {{487.928711,436.962708}} wnTs[0]=0 {{487.928711, 436.962708}, {466.654388,458.237}, {436.567993,458.237}} 35 debugShowCubicIntersection wtTs[0]=0.000404455511 {{0.0451734141,-59.9999847}, { 0.0438041016,-59.9999886}, {0.0424379632,-59.9999886}, {0.0410718247,-59.9999886 }} {{0.0451717526,-59.9999847}} wnTs[0]=1 {{0.111722,-59.999897}, {0.0895366594, -59.999939}, {0.0673542097,-59.9999695}, {0.0451717526,-59.9999847}}
37 debugShowQuadIntersection wtTs[0]=0 {{509.203003,385.60199}, {509.203003,415.688 385}, {487.928711,436.962708}} {{509.203003,385.60199}} wnTs[0]=1 {{487.928711,3 34.241272}, {509.203003,355.515594}, {509.203003,385.60199}} 36 debugShowCubicLineIntersection wtTs[0]=0 {{0.0451734141,-59.9999847}, {0.0438041 016,-59.9999886}, {0.0424379632,-59.9999886}, {0.0410718247,-59.9999886}} {{0.04 51734141,-59.9999847}} wtTs[1]=0.000404455438 {{0.0451717526,-59.9999847}} wnTs[ 0]=5.43927e-011 {{0.0451717526,-59.9999847}, {0.0624898896,-82.9999771}} wnTs[1] =0
38 debugShowQuadIntersection wtTs[0]=1 {{487.928711,436.962708}, {466.654388,458.23 7}, {436.567993,458.237}} {{436.567993,458.237}} wnTs[0]=0 {{436.567993,458.237} , {406.481598,458.237}, {385.207275,436.962708}} 37 debugShowCubicIntersection no self intersect {{0.0624898896,-82.9999771}, {0.093 1733027,-82.9999542}, {0.123859018,-82.9999084}, {0.154544711,-82.999855}}
39 debugShowQuadIntersection wtTs[0]=1 {{436.567993,458.237}, {406.481598,458.237}, {385.207275,436.962708}} {{385.207275,436.962708}} wnTs[0]=0 {{385.207275,436.9 62708}, {363.932983,415.688385}, {363.932983,385.60199}} 38 debugShowCubicIntersection no self intersect {{0.111722,-59.999897}, {0.08953665 94,-59.999939}, {0.0673542097,-59.9999695}, {0.0451717526,-59.9999847}}
40 debugShowQuadIntersection wtTs[0]=1 {{385.207275,436.962708}, {363.932983,415.68 8385}, {363.932983,385.60199}} {{363.932983,385.60199}} wnTs[0]=0 {{363.932983,3 85.60199}, {363.932983,355.515594}, {385.207275,334.241272}} 39 debugShowCubicLineIntersection wtTs[0]=1 {{0.0624898896,-82.9999771}, {0.0931733 027,-82.9999542}, {0.123859018,-82.9999084}, {0.154544711,-82.999855}} {{0.15454 4711,-82.999855}} wnTs[0]=0 {{0.154544711,-82.999855}, {0.111722,-59.999897}}
41 debugShowQuadIntersection wtTs[0]=1 {{363.932983,385.60199}, {363.932983,355.515 594}, {385.207275,334.241272}} {{385.207275,334.241272}} wnTs[0]=0 {{385.207275, 334.241272}, {406.481598,312.96698}, {436.567993,312.96698}} 40 debugShowCubicLineIntersection wtTs[0]=0 {{0.0624898896,-82.9999771}, {0.0931733 027,-82.9999542}, {0.123859018,-82.9999084}, {0.154544711,-82.999855}} {{0.06248 98896,-82.9999771}} wnTs[0]=1 {{0.0451717526,-59.9999847}, {0.0624898896,-82.999 9771}}
42 debugShowQuadIntersection wtTs[0]=1 {{385.207275,334.241272}, {406.481598,312.96 698}, {436.567993,312.96698}} {{436.567993,312.96698}} wnTs[0]=0 {{436.567993,31 2.96698}, {466.654388,312.96698}, {487.928711,334.241272}} 41 debugShowCubicLineIntersection wtTs[0]=0 {{0.111722,-59.999897}, {0.0895366594,- 59.999939}, {0.0673542097,-59.9999695}, {0.0451717526,-59.9999847}} {{0.111722,- 59.999897}} wnTs[0]=1 {{0.154544711,-82.999855}, {0.111722,-59.999897}}
43 debugShowQuadIntersection wtTs[0]=1 {{436.567993,312.96698}, {466.654388,312.966 98}, {487.928711,334.241272}} {{487.928711,334.241272}} wnTs[0]=0 {{487.928711,3 34.241272}, {509.203003,355.515594}, {509.203003,385.60199}} 42 debugShowCubicLineIntersection wtTs[0]=1 {{0.111722,-59.999897}, {0.0895366594,- 59.999939}, {0.0673542097,-59.9999695}, {0.0451717526,-59.9999847}} {{0.04517175 26,-59.9999847}} wnTs[0]=0 {{0.0451717526,-59.9999847}, {0.0624898896,-82.999977 1}}
44 SkOpSegment::sortAngles [10] tStart=0.266471573 [1] 43 SkOpSegment::debugShowTs - id=3 [o=2 t=0 0.06248549,-82.9999771 w=1 o=0] [o=9,4 t=1 0.0451734141,-59.9999847 w=1 o=0]
45 SkOpAngle::after [10/1] 29/29 tStart=0.266471573 tEnd=0 < [5/1] 17/17 tStart=0.7 00123447 tEnd=0 < [10/2] 13/13 tStart=0.266471573 tEnd=1 F 4 44 SkOpSegment::debugShowTs o id=10 [o=9,4 t=0 0.0451717526,-59.9999847 w=1 o=0] [o =4 t=5.44e-011 0.0451734141,-59.9999847 w=1 o=0] [o=2 t=1 0.06248549,-82.9999771 w=1 o=0] [o=7 t=1 0.0624898896,-82.9999771 w=1 o=0] operand
46 SkOpAngle::after [10/1] 29/29 tStart=0.266471573 tEnd=0 < [5/2] 1/1 tStart=0.700 123447 tEnd=1 < [10/2] 13/13 tStart=0.266471573 tEnd=1 T 4 45 SkOpSegment::addTPair addTPair this=3 0 other=10 1
47 SkOpSegment::debugShowActiveSpans id=8 (449.033997,290.872986 449.033997,301.028 259 441.853149,308.209106) t=0 (449.033997,290.872986) tEnd=1 other=15 otherT=1 otherIndex=1 windSum=? windValue=1 oppValue=0 46 SkOpSegment::addTPair addTPair this=10 5.43926879e-011 other=3 1
48 SkOpSegment::debugShowActiveSpans id=9 (441.853149,308.209106 434.672272,315.389 984 424.516998,315.389984) t=0 (441.853149,308.209106) tEnd=1 other=8 otherT=1 o therIndex=1 windSum=? windValue=1 oppValue=0 47 SkOpSegment::debugShowTs + id=3 [o=10,2 t=0 0.06248549,-82.9999771 w=1 o=0] [o=1 0,9,4 t=1 0.0451734141,-59.9999847 w=1 o=0]
49 SkOpSegment::debugShowActiveSpans id=10 (424.516998,315.389984 414.361725,315.38 9984 407.180847,308.209106) t=0 (424.516998,315.389984) tEnd=0.266471573 other=9 otherT=1 otherIndex=1 windSum=? windValue=1 oppValue=0 48 SkOpSegment::debugShowTs o id=10 [o=9,4 t=0 0.0451717526,-59.9999847 w=1 o=0] [o =3,4 t=5.44e-011 0.0451734141,-59.9999847 w=1 o=0] [o=3,2 t=1 0.06248549,-82.999 9771 w=1 o=0] [o=7 t=1 0.0624898896,-82.9999771 w=1 o=0] operand
50 SkOpSegment::debugShowActiveSpans id=10 (424.516998,315.389984 414.361725,315.38 9984 407.180847,308.209106) t=0.266471573 (419.31601,314.880096) tEnd=1 other=5 otherT=0.700123447 otherIndex=1 windSum=? windValue=1 oppValue=0 49 SkOpContour::calcCoincidentWinding count=1
51 SkOpSegment::debugShowActiveSpans id=11 (407.180847,308.209106 400,301.028259 40 0,290.872986) t=0 (407.180847,308.209106) tEnd=1 other=10 otherT=1 otherIndex=2 windSum=? windValue=1 oppValue=0 50 SkOpSegment::debugShowTs p id=3 [o=10,2 t=0 0.06248549,-82.9999771 w=1 o=-1] [o= 10,9,4 t=1 0.0451734141,-59.9999847 w=1 o=0]
52 SkOpSegment::debugShowActiveSpans id=12 (400,290.872986 400,280.717712 407.18084 7,273.536865) t=0 (400,290.872986) tEnd=1 other=11 otherT=1 otherIndex=1 windSum =? windValue=1 oppValue=0 51 SkOpSegment::debugShowTs o id=10 [o=9,4 t=0 0.0451717526,-59.9999847 w=1 o=0] [o =3,4 t=5.44e-011 0.0451734141,-59.9999847 w=0 o=0] [o=3,2 t=1 0.06248549,-82.999 9771 w=1 o=0] [o=7 t=1 0.0624898896,-82.9999771 w=1 o=0] operand
53 SkOpSegment::debugShowActiveSpans id=13 (407.180847,273.536865 414.361725,266.35 5988 424.516998,266.355988) t=0 (407.180847,273.536865) tEnd=1 other=12 otherT=1 otherIndex=1 windSum=? windValue=1 oppValue=0 52 SkOpContour::calcPartialCoincidentWinding count=1
54 SkOpSegment::debugShowActiveSpans id=14 (424.516998,266.355988 434.672272,266.35 5988 441.853149,273.536865) t=0 (424.516998,266.355988) tEnd=1 other=13 otherT=1 otherIndex=1 windSum=? windValue=1 oppValue=0 53 SkOpSegment::debugShowTs p id=4 [o=10,3 t=0 0.0451734141,-59.9999847 w=1 o=-1] [ o=10 t=0.000404 0.0451717526,-59.9999847 w=1 o=0] [o=9 t=0.000404 0.0451717526,- 59.9999847 w=1 o=0] [o=5 t=1 0.0410718247,-59.9999886 w=1 o=0]
55 SkOpSegment::debugShowActiveSpans id=15 (441.853149,273.536865 449.033997,280.71 7712 449.033997,290.872986) t=0 (441.853149,273.536865) tEnd=1 other=14 otherT=1 otherIndex=1 windSum=? windValue=1 oppValue=0 54 SkOpSegment::debugShowTs o id=10 [o=9,4 t=0 0.0451717526,-59.9999847 w=0 o=0] [o =3,4 t=5.44e-011 0.0451734141,-59.9999847 w=0 o=0] [o=3,2 t=1 0.06248549,-82.999 9771 w=1 o=0] [o=7 t=1 0.0624898896,-82.9999771 w=1 o=0] operand
56 SkOpSegment::debugShowActiveSpans id=0 (509.203003,385.60199 509.203003,415.6883 85 487.928711,436.962708) t=0 (509.203003,385.60199) tEnd=1 other=7 otherT=1 oth erIndex=1 windSum=? windValue=1 oppValue=0 55 SkOpSegment::checkEnds id=4 missing t=0 other=9 otherT=0.999975033 pt=(0.0451734 141,-59.9999847)
57 SkOpSegment::debugShowActiveSpans id=1 (487.928711,436.962708 466.654388,458.237 436.567993,458.237) t=0 (487.928711,436.962708) tEnd=1 other=0 otherT=1 otherIn dex=1 windSum=? windValue=1 oppValue=0 56 SkOpSegment::addTPair addTPair this=4 0 other=9 0.999975033
58 SkOpSegment::debugShowActiveSpans id=2 (436.567993,458.237 406.481598,458.237 38 5.207275,436.962708) t=0 (436.567993,458.237) tEnd=1 other=1 otherT=1 otherIndex =1 windSum=? windValue=1 oppValue=0 57 SkOpSegment::checkEnds id=9 missing t=0.999975033 other=10 otherT=5.43926879e-01 1 pt=(0.0451734141,-59.9999847)
59 SkOpSegment::debugShowActiveSpans id=3 (385.207275,436.962708 363.932983,415.688 385 363.932983,385.60199) t=0 (385.207275,436.962708) tEnd=1 other=2 otherT=1 ot herIndex=1 windSum=? windValue=1 oppValue=0 58 SkOpSegment::addTPair addTPair other duplicate this=9 0.999975033 other=10 5.439 26879e-011
60 SkOpSegment::debugShowActiveSpans id=4 (363.932983,385.60199 363.932983,355.5155 94 385.207275,334.241272) t=0 (363.932983,385.60199) tEnd=1 other=3 otherT=1 oth erIndex=1 windSum=? windValue=1 oppValue=0 59 SkOpSegment::addTPair addTPair duplicate this=10 5.43926879e-011 other=9 0.99997 5033
61 SkOpSegment::debugShowActiveSpans id=5 (385.207275,334.241272 406.481598,312.966 98 436.567993,312.96698) t=0 (385.207275,334.241272) tEnd=0.700123447 other=4 ot herT=1 otherIndex=1 windSum=? windValue=1 oppValue=0 60 SkOpSegment::addTPair addTPair other duplicate this=9 0.999975033 other=10 5.439 26879e-011
62 SkOpSegment::debugShowActiveSpans id=5 (385.207275,334.241272 406.481598,312.966 98 436.567993,312.96698) t=0.700123447 (419.31601,314.880096) tEnd=1 other=10 ot herT=0.266471573 otherIndex=1 windSum=? windValue=1 oppValue=0 61 SkOpSegment::addTPair addTPair other duplicate this=9 0.999975033 other=10 5.439 26879e-011
63 SkOpSegment::debugShowActiveSpans id=6 (436.567993,312.96698 466.654388,312.9669 8 487.928711,334.241272) t=0 (436.567993,312.96698) tEnd=1 other=5 otherT=1 othe rIndex=2 windSum=? windValue=1 oppValue=0 62 SkOpSegment::addTPair addTPair duplicate this=10 5.43926879e-011 other=9 0.99997 5033
64 SkOpSegment::debugShowActiveSpans id=7 (487.928711,334.241272 509.203003,355.515 594 509.203003,385.60199) t=0 (487.928711,334.241272) tEnd=1 other=6 otherT=1 ot herIndex=1 windSum=? windValue=1 oppValue=0 63 SkOpSegment::addTPair addTPair other duplicate this=9 0.999975033 other=10 5.439 26879e-011
65 SkOpSegment::findTop 64 SkOpSegment::addTPair addTPair other duplicate this=9 0.999975033 other=10 5.439 26879e-011
66 SkOpAngle::dumpOne [13/1] next=14/1 sect=16/17 s=1 [1] e=0 [0] sgn=1 windVal=1 windSum=? operand 65 SkOpSegment::addTPair addTPair duplicate this=10 5.43926879e-011 other=9 0.99997 5033
67 SkOpAngle::dumpOne [14/1] next=13/1 sect=30/29 s=0 [0] e=1 [1] sgn=-1 windVal=1 windSum=? operand stop 66 SkOpSegment::addTPair addTPair duplicate this=10 5.43926879e-011 other=9 0.99997 5033
68 SkOpSegment::markWinding id=13 (407.180847,273.536865 414.361725,266.355988 424. 516998,266.355988) t=0 [0] (407.180847,273.536865) tEnd=1 newWindSum=-1 newOppSu m=0 oppSum=? windSum=? windValue=1 oppValue=0 67 SkOpContour::joinCoincidence count=1
69 SkOpSegment::nextChase mismatched signs 68 SkOpContour::joinCoincidence count=1
70 SkOpSegment::markWinding id=14 (424.516998,266.355988 434.672272,266.355988 441. 853149,273.536865) t=0 [0] (424.516998,266.355988) tEnd=1 newWindSum=-1 newOppSu m=0 oppSum=? windSum=? windValue=1 oppValue=0
71 SkOpSegment::markWinding id=15 (441.853149,273.536865 449.033997,280.717712 449. 033997,290.872986) t=0 [0] (441.853149,273.536865) tEnd=1 newWindSum=-1 newOppSu m=0 oppSum=? windSum=? windValue=1 oppValue=0
72 SkOpSegment::markWinding id=8 (449.033997,290.872986 449.033997,301.028259 441.8 53149,308.209106) t=0 [0] (449.033997,290.872986) tEnd=1 newWindSum=-1 newOppSum =0 oppSum=? windSum=? windValue=1 oppValue=0
73 SkOpSegment::markWinding id=9 (441.853149,308.209106 434.672272,315.389984 424.5 16998,315.389984) t=0 [0] (441.853149,308.209106) tEnd=1 newWindSum=-1 newOppSum =0 oppSum=? windSum=? windValue=1 oppValue=0
74 SkOpSegment::markWinding id=10 (424.516998,315.389984 414.361725,315.389984 407. 180847,308.209106) t=0 [0] (424.516998,315.389984) tEnd=0.266471573 newWindSum=- 1 newOppSum=0 oppSum=? windSum=? windValue=1 oppValue=0
75 SkOpSegment::markWinding id=13 (407.180847,273.536865 414.361725,266.355988 424. 516998,266.355988) t=0 [0] (407.180847,273.536865) tEnd=1 newWindSum=-1 newOppSu m=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
76 SkOpSegment::markWinding id=12 (400,290.872986 400,280.717712 407.180847,273.536 865) t=0 [0] (400,290.872986) tEnd=1 newWindSum=-1 newOppSum=0 oppSum=? windSum= ? windValue=1 oppValue=0
77 SkOpSegment::markWinding id=11 (407.180847,308.209106 400,301.028259 400,290.872 986) t=0 [0] (407.180847,308.209106) tEnd=1 newWindSum=-1 newOppSum=0 oppSum=? w indSum=? windValue=1 oppValue=0
78 SkOpSegment::markWinding id=10 (424.516998,315.389984 414.361725,315.389984 407. 180847,308.209106) t=0.266471573 [1] (419.31601,314.880096) tEnd=1 newWindSum=-1 newOppSum=0 oppSum=? windSum=? windValue=1 oppValue=0
79 SkOpSegment::activeOp id=13 t=0 tEnd=1 op=union miFrom=0 miTo=0 suFrom=1 suTo=0 result=1
80 SkOpSegment::nextChase mismatched signs
81 SkOpSegment::findNextOp simple
82 SkOpSegment::markDoneBinary id=13 (407.180847,273.536865 414.361725,266.355988 4 24.516998,266.355988) t=0 [0] (407.180847,273.536865) tEnd=1 newWindSum=-1 newOp pSum=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
83 bridgeOp current id=13 from=(407.180847,273.536865) to=(424.516998,266.355988)
84 path.moveTo(407.180847,273.536865);
85 path.quadTo(414.361725,266.355988, 424.516998,266.355988);
86 SkOpSegment::findNextOp simple
87 SkOpSegment::markDoneBinary id=14 (424.516998,266.355988 434.672272,266.355988 4 41.853149,273.536865) t=0 [0] (424.516998,266.355988) tEnd=1 newWindSum=-1 newOp pSum=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
88 bridgeOp current id=14 from=(424.516998,266.355988) to=(441.853149,273.536865)
89 path.quadTo(434.672272,266.355988, 441.853149,273.536865);
90 SkOpSegment::findNextOp simple
91 SkOpSegment::markDoneBinary id=15 (441.853149,273.536865 449.033997,280.717712 4 49.033997,290.872986) t=0 [0] (441.853149,273.536865) tEnd=1 newWindSum=-1 newOp pSum=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
92 bridgeOp current id=15 from=(441.853149,273.536865) to=(449.033997,290.872986)
93 path.quadTo(449.033997,280.717712, 449.033997,290.872986);
94 SkOpSegment::findNextOp simple
95 SkOpSegment::markDoneBinary id=8 (449.033997,290.872986 449.033997,301.028259 44 1.853149,308.209106) t=0 [0] (449.033997,290.872986) tEnd=1 newWindSum=-1 newOpp Sum=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
96 bridgeOp current id=8 from=(449.033997,290.872986) to=(441.853149,308.209106)
97 path.quadTo(449.033997,301.028259, 441.853149,308.209106);
98 SkOpSegment::findNextOp simple
99 SkOpSegment::markDoneBinary id=9 (441.853149,308.209106 434.672272,315.389984 42 4.516998,315.389984) t=0 [0] (441.853149,308.209106) tEnd=1 newWindSum=-1 newOpp Sum=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
100 bridgeOp current id=9 from=(441.853149,308.209106) to=(424.516998,315.389984)
101 path.quadTo(434.672272,315.389984, 424.516998,315.389984);
102 SkOpSegment::markWinding id=5 (385.207275,334.241272 406.481598,312.96698 436.56 7993,312.96698) t=0.700123447 [1] (419.31601,314.880096) tEnd=1 newWindSum=1 new OppSum=-1 oppSum=? windSum=? windValue=1 oppValue=0
103 SkOpSegment::markWinding id=6 (436.567993,312.96698 466.654388,312.96698 487.928 711,334.241272) t=0 [0] (436.567993,312.96698) tEnd=1 newWindSum=1 newOppSum=-1 oppSum=? windSum=? windValue=1 oppValue=0
104 SkOpSegment::markWinding id=7 (487.928711,334.241272 509.203003,355.515594 509.2 03003,385.60199) t=0 [0] (487.928711,334.241272) tEnd=1 newWindSum=1 newOppSum=- 1 oppSum=? windSum=? windValue=1 oppValue=0
105 SkOpSegment::markWinding id=0 (509.203003,385.60199 509.203003,415.688385 487.92 8711,436.962708) t=0 [0] (509.203003,385.60199) tEnd=1 newWindSum=1 newOppSum=-1 oppSum=? windSum=? windValue=1 oppValue=0
106 SkOpSegment::markWinding id=1 (487.928711,436.962708 466.654388,458.237 436.5679 93,458.237) t=0 [0] (487.928711,436.962708) tEnd=1 newWindSum=1 newOppSum=-1 opp Sum=? windSum=? windValue=1 oppValue=0
107 SkOpSegment::markWinding id=2 (436.567993,458.237 406.481598,458.237 385.207275, 436.962708) t=0 [0] (436.567993,458.237) tEnd=1 newWindSum=1 newOppSum=-1 oppSum =? windSum=? windValue=1 oppValue=0
108 SkOpSegment::markWinding id=3 (385.207275,436.962708 363.932983,415.688385 363.9 32983,385.60199) t=0 [0] (385.207275,436.962708) tEnd=1 newWindSum=1 newOppSum=- 1 oppSum=? windSum=? windValue=1 oppValue=0
109 SkOpSegment::markWinding id=4 (363.932983,385.60199 363.932983,355.515594 385.20 7275,334.241272) t=0 [0] (363.932983,385.60199) tEnd=1 newWindSum=1 newOppSum=-1 oppSum=? windSum=? windValue=1 oppValue=0
110 SkOpSegment::markWinding id=5 (385.207275,334.241272 406.481598,312.96698 436.56 7993,312.96698) t=0 [0] (385.207275,334.241272) tEnd=0.700123447 newWindSum=1 ne wOppSum=-1 oppSum=? windSum=? windValue=1 oppValue=0
111 SkOpSegment::markAngle last id=5 windSum=1 small=0
112 SkOpSegment::findNextOp
113 SkOpAngle::dumpOne [10/1] next=5/2 sect=29/29 s=0.266471573 [1] e=0 [0] sgn=1 w indVal=1 windSum=-1 oppVal=0 oppSum=0 operand
114 SkOpAngle::dumpOne [5/2] next=10/2 sect=1/1 s=0.700123447 [1] e=1 [2] sgn=-1 wi ndVal=1 windSum=1 oppVal=0 oppSum=-1
115 SkOpAngle::dumpOne [10/2] next=5/1 sect=13/13 s=0.266471573 [1] e=1 [2] sgn=-1 windVal=1 windSum=-1 oppVal=0 oppSum=0 operand
116 SkOpAngle::dumpOne [5/1] next=10/1 sect=17/17 s=0.700123447 [1] e=0 [0] sgn=1 w indVal=1 windSum=1 oppVal=0 oppSum=-1
117 SkOpSegment::activeOp id=5 t=0.700123447 tEnd=1 op=union miFrom=0 miTo=1 suFrom= 1 suTo=1 result=0
118 SkOpSegment::markDoneBinary id=5 (385.207275,334.241272 406.481598,312.96698 436 .567993,312.96698) t=0.700123447 [1] (419.31601,314.880096) tEnd=1 newWindSum=1 newOppSum=-1 oppSum=-1 windSum=1 windValue=1 oppValue=0
119 SkOpSegment::markDoneBinary id=6 (436.567993,312.96698 466.654388,312.96698 487. 928711,334.241272) t=0 [0] (436.567993,312.96698) tEnd=1 newWindSum=1 newOppSum= -1 oppSum=-1 windSum=1 windValue=1 oppValue=0
120 SkOpSegment::markDoneBinary id=7 (487.928711,334.241272 509.203003,355.515594 50 9.203003,385.60199) t=0 [0] (487.928711,334.241272) tEnd=1 newWindSum=1 newOppSu m=-1 oppSum=-1 windSum=1 windValue=1 oppValue=0
121 SkOpSegment::markDoneBinary id=0 (509.203003,385.60199 509.203003,415.688385 487 .928711,436.962708) t=0 [0] (509.203003,385.60199) tEnd=1 newWindSum=1 newOppSum =-1 oppSum=-1 windSum=1 windValue=1 oppValue=0
122 SkOpSegment::markDoneBinary id=1 (487.928711,436.962708 466.654388,458.237 436.5 67993,458.237) t=0 [0] (487.928711,436.962708) tEnd=1 newWindSum=1 newOppSum=-1 oppSum=-1 windSum=1 windValue=1 oppValue=0
123 SkOpSegment::markDoneBinary id=2 (436.567993,458.237 406.481598,458.237 385.2072 75,436.962708) t=0 [0] (436.567993,458.237) tEnd=1 newWindSum=1 newOppSum=-1 opp Sum=-1 windSum=1 windValue=1 oppValue=0
124 SkOpSegment::markDoneBinary id=3 (385.207275,436.962708 363.932983,415.688385 36 3.932983,385.60199) t=0 [0] (385.207275,436.962708) tEnd=1 newWindSum=1 newOppSu m=-1 oppSum=-1 windSum=1 windValue=1 oppValue=0
125 SkOpSegment::markDoneBinary id=4 (363.932983,385.60199 363.932983,355.515594 385 .207275,334.241272) t=0 [0] (363.932983,385.60199) tEnd=1 newWindSum=1 newOppSum =-1 oppSum=-1 windSum=1 windValue=1 oppValue=0
126 SkOpSegment::markDoneBinary id=5 (385.207275,334.241272 406.481598,312.96698 436 .567993,312.96698) t=0 [0] (385.207275,334.241272) tEnd=0.700123447 newWindSum=1 newOppSum=-1 oppSum=-1 windSum=1 windValue=1 oppValue=0
127 SkOpSegment::findNextOp chase.append id=5 windSum=1 small=0
128 SkOpSegment::activeOp id=10 t=0.266471573 tEnd=1 op=union miFrom=1 miTo=1 suFrom =1 suTo=0 result=0
129 SkOpSegment::markDoneBinary id=10 (424.516998,315.389984 414.361725,315.389984 4 07.180847,308.209106) t=0.266471573 [1] (419.31601,314.880096) tEnd=1 newWindSum =-1 newOppSum=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
130 SkOpSegment::markDoneBinary id=11 (407.180847,308.209106 400,301.028259 400,290. 872986) t=0 [0] (407.180847,308.209106) tEnd=1 newWindSum=-1 newOppSum=0 oppSum= 0 windSum=-1 windValue=1 oppValue=0
131 SkOpSegment::markDoneBinary id=12 (400,290.872986 400,280.717712 407.180847,273. 536865) t=0 [0] (400,290.872986) tEnd=1 newWindSum=-1 newOppSum=0 oppSum=0 windS um=-1 windValue=1 oppValue=0
132 SkOpSegment::activeOp id=5 t=0.700123447 tEnd=0 op=union miFrom=1 miTo=0 suFrom= 0 suTo=0 result=1
133 SkOpSegment::markDoneBinary id=10 (424.516998,315.389984 414.361725,315.389984 4 07.180847,308.209106) t=0 [0] (424.516998,315.389984) tEnd=0.266471573 newWindSu m=-1 newOppSum=0 oppSum=0 windSum=-1 windValue=1 oppValue=0
134 SkOpSegment::findNextOp from:[10] to:[5] start=1 end=0
135 bridgeOp current id=10 from=(424.516998,315.389984) to=(419.31601,314.880096)
136 path.quadTo(421.810883,315.389984, 419.31601,314.880096);
137 </div> 69 </div>
138 70
139 </div> 71 </div>
140 72
141 <script type="text/javascript"> 73 <script type="text/javascript">
142 74
143 var testDivs = [ 75 var testDivs = [
144 issue2808, 76 battleOp6001,
145 ]; 77 ];
146 78
147 var decimal_places = 3; // make this 3 to show more precision 79 var decimal_places = 3; // make this 3 to show more precision
148 80
149 var tests = []; 81 var tests = [];
150 var testLines = []; 82 var testLines = [];
151 var testTitles = []; 83 var testTitles = [];
152 var testIndex = 0; 84 var testIndex = 0;
153 var ctx; 85 var ctx;
154 86
(...skipping 3219 matching lines...) Expand 10 before | Expand all | Expand 10 after
3374 </script> 3306 </script>
3375 </head> 3307 </head>
3376 3308
3377 <body onLoad="start();"> 3309 <body onLoad="start();">
3378 <canvas id="canvas" width="750" height="500" 3310 <canvas id="canvas" width="750" height="500"
3379 onmousemove="handleMouseOver()" 3311 onmousemove="handleMouseOver()"
3380 onclick="handleMouseClick()" 3312 onclick="handleMouseClick()"
3381 ></canvas > 3313 ></canvas >
3382 </body> 3314 </body>
3383 </html> 3315 </html>
OLDNEW
« no previous file with comments | « tools/pathops_sorter.htm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698