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

Side by Side Diff: tools/pathops_sorter.htm

Issue 1413763002: path ops: fix conic weight and partial coincidence (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove samplecode changes Created 5 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/PathOpsTSectDebug.h ('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="cubics"> 9 <div id="conics">
10 {{{231.80000305175781, 2084.800048828125}, {255.60000610351562, 2084.80004882812 5}, {275, 2065.39990234375}, {275, 2041.5999755859375}}}, 10 {{{78.000016756859424, 4590.0127645689281}, {78, 4590.005859375}}},
11 {{{275, 2041.5999755859375}, {275, 2084.800048828125}, {231.80000305175781, 2084 .800048828125}}, 0.707107008}, 11 {{{78.000022914349017, 4590.0165822692597}, {78.000005725317905, 4590.0082887743 229}}},
12 {{{{83, 4595}, {78.008674621582031, 4595}, {78, 4590.005859375}}}, 0.707720578f} ,
13 {{{{84, 4596}, {78, 4596}, {78, 4590}}}, 0.707106769f},
14 </div>
15
16 <div id="conicLines">
17 {{{78.000016756859424, 4590.0127645689281}, {78, 4590.005859375}}},
18 {{{78.000022914349017, 4590.0165822692597}, {78.000005725317905, 4590.0082887743 229}}},
19 </div>
20
21 <div id="thisopp">
22 {{{78.000016756859424, 4590.0127645689281}, {78, 4590.005859375}}},
23 {{{{84, 4596}, {78, 4596}, {78, 4590}}}, 0.707106769f},
24 {{{78.0000055,4590.00813) (78.0000367,4590.02099
12 </div> 25 </div>
13 26
14 </div> 27 </div>
15 28
16 <script type="text/javascript"> 29 <script type="text/javascript">
17 30
18 var testDivs = [ 31 var testDivs = [
19 cubics, 32 conics,
33 conicLines,
34 thisopp,
20 ]; 35 ];
21 36
22 var decimal_places = 3; 37 var decimal_places = 3;
23 38
24 var tests = []; 39 var tests = [];
25 var testTitles = []; 40 var testTitles = [];
26 var testIndex = 0; 41 var testIndex = 0;
27 var ctx; 42 var ctx;
28 43
29 var subscale = 1; 44 var subscale = 1;
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after
1400 <body onLoad="start();"> 1415 <body onLoad="start();">
1401 1416
1402 <canvas id="canvas" width="750" height="500" 1417 <canvas id="canvas" width="750" height="500"
1403 onmousedown="mouseDown = true" 1418 onmousedown="mouseDown = true"
1404 onmouseup="mouseDown = false" 1419 onmouseup="mouseDown = false"
1405 onmousemove="handleMouseOver()" 1420 onmousemove="handleMouseOver()"
1406 onclick="handleMouseClick()" 1421 onclick="handleMouseClick()"
1407 ></canvas > 1422 ></canvas >
1408 </body> 1423 </body>
1409 </html> 1424 </html>
OLDNEW
« no previous file with comments | « tests/PathOpsTSectDebug.h ('k') | tools/pathops_visualizer.htm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698