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

Side by Side Diff: tools/pathops_sorter.htm

Issue 2357353002: split tight quads and cubics (Closed)
Patch Set: fix linux build Created 4 years, 2 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 | « tests/PathOpsThreeWayTest.cpp ('k') | tools/pathops_visualizer.htm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> 3 <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
4 <head> 4 <head>
5 <meta charset="utf-8" /> 5 <meta charset="utf-8" />
6 <title></title> 6 <title></title>
7 <div style="height:0"> 7 <div style="height:0">
8 8
9 <div id="lineconic"> 9 <div id="perp">
10 {{{{494.348663330078125, 224.583770751953125}, {494.365142822265625, 224.6331939 697265625}, {494.37640380859375, 224.6840667724609375}}}, 0.998645842f}, 10 {{{130.0427549999999997, 11417.41309999999976}, {130.2331240000000037, 11418.319 2999999992}, {131.0370790000000056, 11419}, {132, 11419}}},
11 {{{494.371185302734375, 224.66168212890625}, {494.375213623046875, 224.678726196 2890625}}}, 11 {{{132, 11419}, {130.8954319999999996, 11419}, {130, 11418.10449999999946}, {130 , 11417}}},
12 </div>
13
14 <div id="quads">
15 {{{-0.001019871095195412636, -0.008523519150912761688}, {-0.00539640802890062332 2, -0.005396373569965362549}, {-0.02855382487177848816, -0.02855364233255386353} }},
16 {{{-0.004567248281091451645, -0.01482933573424816132}, {-0.01142475008964538574, -0.01140109263360500336}, {-0.02852955088019371033, -0.02847047336399555206}}},
17 </div>
18
19 <div id="both">
20 {{fX=0.000000000 fY=0.000000000 }, {fX=494.350159 fY=228.773712 }, {fX=493.19165 0 fY=226.887451 }}
21 {{fX=0.000000000 fY=0.000000000 } {fX=492.680206 fY=228.000900 } {fX=493.193817 fY=226.897568 }
22 {{fX=493.193817 fY=226.897568 } {fX=493.195557 fY=226.893829 } {fX=493.191650 fY =226.887451 }
23 </div>
24
25 <div id="startguy">
26 {{fX=0.000000000 fY=0.000000000 }, {fX=494.350159 fY=228.773712 }, {fX=493.19165 0 fY=226.887451 }}
27 {{fX=0.000000000 fY=0.000000000 }, {fX=494.350159 fY=228.773712 }, {fX=493.19165 0 fY=226.887451 }}
28 </div>
29
30 <div id="splitted">
31 {{fX=0.000000000 fY=0.000000000 } {fX=492.680206 fY=228.000900 } {fX=493.193817 fY=226.897568 }
32 {{fX=493.193817 fY=226.897568 } {fX=493.195557 fY=226.893829 } {fX=493.191650 fY =226.887451 }
12 </div> 33 </div>
13 34
14 </div> 35 </div>
15 36
16 <script type="text/javascript"> 37 <script type="text/javascript">
17 38
18 var testDivs = [ 39 var testDivs = [
19 lineconic, 40 perp,
41 quads,
42 both,
43 startguy,
44 splitted
20 ]; 45 ];
21 46
22 var decimal_places = 3; 47 var decimal_places = 3;
23 48
24 var tests = []; 49 var tests = [];
25 var testTitles = []; 50 var testTitles = [];
26 var testIndex = 0; 51 var testIndex = 0;
27 var ctx; 52 var ctx;
28 53
29 var subscale = 1; 54 var subscale = 1;
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 <body onLoad="start();"> 1434 <body onLoad="start();">
1410 1435
1411 <canvas id="canvas" width="750" height="500" 1436 <canvas id="canvas" width="750" height="500"
1412 onmousedown="mouseDown = true" 1437 onmousedown="mouseDown = true"
1413 onmouseup="mouseDown = false" 1438 onmouseup="mouseDown = false"
1414 onmousemove="handleMouseOver()" 1439 onmousemove="handleMouseOver()"
1415 onclick="handleMouseClick()" 1440 onclick="handleMouseClick()"
1416 ></canvas > 1441 ></canvas >
1417 </body> 1442 </body>
1418 </html> 1443 </html>
OLDNEW
« no previous file with comments | « tests/PathOpsThreeWayTest.cpp ('k') | tools/pathops_visualizer.htm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698