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

Side by Side Diff: tools/pathops_sorter.htm

Issue 1405383004: fix path op conic bugs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix w cast Created 5 years, 1 month 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/SubsetPath.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="conics"> 9 <div id="sect0">
10 {{{78.000016756859424, 4590.0127645689281}, {78, 4590.005859375}}}, 10 {{{{306.588013,-227.983994}, {212.464996,-262.242004}, {95.5512009,58.9763985}}} , 0.707107008f},
11 {{{78.000022914349017, 4590.0165822692597}, {78.000005725317905, 4590.0082887743 229}}}, 11 {{{{377.218994,-141.981003}, {40.578701,-201.339996}, {23.1854992,-102.697998}}} , 0.707107008f},
12 {{{{83, 4595}, {78.008674621582031, 4595}, {78, 4590.005859375}}}, 0.707720578f} ,
13 {{{{84, 4596}, {78, 4596}, {78, 4590}}}, 0.707106769f},
14 </div> 12 </div>
15 13
16 <div id="conicLines"> 14 <div id="sect1">
17 {{{78.000016756859424, 4590.0127645689281}, {78, 4590.005859375}}}, 15 {{{{377.218994,-141.981003}, {40.578701,-201.339996}, {23.1854992,-102.697998}}} , 0.707107008f},
18 {{{78.000022914349017, 4590.0165822692597}, {78.000005725317905, 4590.0082887743 229}}}, 16 {{{{306.58801299999999, -227.983994}, {212.46499600000001, -262.24200400000001}, {95.551200899999998, 58.976398500000002}}}, 0.707107008f} id=1
17 {{{{377.21899400000001, -141.98100299999999}, {237.77799285476553, -166.56830755 921084}, {134.08399674208422, -155.06258330544892}}}, 0.788580656f} id=2
18 {{{{134.08399674208422, -155.06258330544892}, {30.390000629402859, -143.55685905 168704}, {23.185499199999999, -102.697998}}}, 0.923879623f} id=4
19 </div> 19 </div>
20 20
21 <div id="thisopp"> 21 <div id="sect2">
22 {{{78.000016756859424, 4590.0127645689281}, {78, 4590.005859375}}}, 22 {{{{306.588013,-227.983994}, {212.464996,-262.242004}, {95.5512009,58.9763985}}} , 0.707107008f},
23 {{{{84, 4596}, {78, 4596}, {78, 4590}}}, 0.707106769f}, 23 {{{{377.218994,-141.981003}, {40.578701,-201.339996}, {23.1854992,-102.697998}}} , 0.707107008f},
24 {{{78.0000055,4590.00813) (78.0000367,4590.02099 24 {{{{205.78973252799028, -158.12538713371103}, {143.97848953841861, -74.076645245 042371}, {95.551200899999998, 58.976398500000002}}}, 0.923879623f} id=3
25 {{{{377.21899400000001, -141.98100299999999}, {237.77799285476553, -166.56830755 921084}, {134.08399674208422, -155.06258330544892}}}, 0.788580656f} id=2
26 </div>
27
28 <div id="sect3">
29 {{{{306.588013,-227.983994}, {212.464996,-262.242004}, {95.5512009,58.9763985}}} , 0.707107008f},
30 {{{{377.218994,-141.981003}, {40.578701,-201.339996}, {23.1854992,-102.697998}}} , 0.707107008f},
31 {{{{205.78973252799028, -158.12538713371103}, {143.97848953841861, -74.076645245 042371}, {95.551200899999998, 58.976398500000002}}}, 0.923879623f} id=3
32 {{{{252.08225670812539, -156.90491625851064}, {185.93099479842493, -160.81544543 232982}, {134.08399674208422, -155.06258330544892}}}, 0.835816324f} id=6
33 </div>
34
35 <div id="sect4">
36 {{{{306.588013,-227.983994}, {212.464996,-262.242004}, {95.5512009,58.9763985}}} , 0.707107008f},
37 {{{{377.218994,-141.981003}, {40.578701,-201.339996}, {23.1854992,-102.697998}}} , 0.707107008f},
38 {{{{205.78973252799028, -158.12538713371103}, {174.88411103320448, -116.10101618 937664}, {145.19509369736275, -56.857102571363754}}}, 0.871667147f} id=3
39 {{{{252.08225670812539, -156.90491625851064}, {185.93099479842493, -160.81544543 232982}, {134.08399674208422, -155.06258330544892}}}, 0.835816324f} id=6
40 </div>
41
42 <div id="sect5">
43 {{{{306.588013,-227.983994}, {212.464996,-262.242004}, {95.5512009,58.9763985}}} , 0.707107008f},
44 {{{{377.218994,-141.981003}, {40.578701,-201.339996}, {23.1854992,-102.697998}}} , 0.707107008f},
45 {{{{205.78973252799028, -158.12538713371103}, {174.88411103320448, -116.10101618 937664}, {145.19509369736275, -56.857102571363754}}}, 0.871667147f} id=3
46 {{{{252.08225670812539, -156.90491625851064}, {219.70109133058406, -158.81912754 088933}, {190.17095392508796, -158.38373974664466}}}, 0.858306944f} id=6
47 </div>
48
49 <div id="sect6">
50 {{{{306.588013,-227.983994}, {212.464996,-262.242004}, {95.5512009,58.9763985}}} , 0.707107008f},
51 {{{{377.218994,-141.981003}, {40.578701,-201.339996}, {23.1854992,-102.697998}}} , 0.707107008f},
52 {{{{205.78973252799028, -158.12538713371103}, {190.33692178059735, -137.11320166 154385}, {174.87004877564593, -111.2132534799228}}}, 0.858117759f} id=3
53 {{{{252.08225670812539, -156.90491625851064}, {219.70109133058406, -158.81912754 088933}, {190.17095392508796, -158.38373974664466}}}, 0.858306944f} id=6
25 </div> 54 </div>
26 55
27 </div> 56 </div>
28 57
29 <script type="text/javascript"> 58 <script type="text/javascript">
30 59
31 var testDivs = [ 60 var testDivs = [
32 conics, 61 sect0,
33 conicLines, 62 sect1,
34 thisopp, 63 sect2,
64 sect3,
65 sect4,
66 sect5,
67 sect6,
35 ]; 68 ];
36 69
37 var decimal_places = 3; 70 var decimal_places = 3;
38 71
39 var tests = []; 72 var tests = [];
40 var testTitles = []; 73 var testTitles = [];
41 var testIndex = 0; 74 var testIndex = 0;
42 var ctx; 75 var ctx;
43 76
44 var subscale = 1; 77 var subscale = 1;
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 <body onLoad="start();"> 1448 <body onLoad="start();">
1416 1449
1417 <canvas id="canvas" width="750" height="500" 1450 <canvas id="canvas" width="750" height="500"
1418 onmousedown="mouseDown = true" 1451 onmousedown="mouseDown = true"
1419 onmouseup="mouseDown = false" 1452 onmouseup="mouseDown = false"
1420 onmousemove="handleMouseOver()" 1453 onmousemove="handleMouseOver()"
1421 onclick="handleMouseClick()" 1454 onclick="handleMouseClick()"
1422 ></canvas > 1455 ></canvas >
1423 </body> 1456 </body>
1424 </html> 1457 </html>
OLDNEW
« no previous file with comments | « tests/SubsetPath.cpp ('k') | tools/pathops_visualizer.htm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698