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

Side by Side Diff: tools/pathops_sorter.htm

Issue 266063003: cubicline intersection binary search (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: typing cleanup Created 6 years, 7 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/PathOpsOpTest.cpp ('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 <!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="quad1"> 9 <div id="quad1">
10 {{3.13,2.74}, {1.08,4.62}, {3.71,0.94}} 10 {{3.13,2.74}, {1.08,4.62}, {3.71,0.94}}
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 <div id="self1"> 860 <div id="self1">
861 {{{2, 3}, {0, 4}, {3, 2}, {5, 3}}} 861 {{{2, 3}, {0, 4}, {3, 2}, {5, 3}}}
862 {{{2, 3}, {0, 4}, {3, 2}, {5, 3}}} 862 {{{2, 3}, {0, 4}, {3, 2}, {5, 3}}}
863 </div> 863 </div>
864 864
865 <div id="skpwww_pindosiya_com_99"> 865 <div id="skpwww_pindosiya_com_99">
866 {{{901.0869140625, 547}, {899, 556}}} 866 {{{901.0869140625, 547}, {899, 556}}}
867 {{{900.0235595703125, 551.60284423828125}, {900.06072998046875, 551.297058105468 75}, {900.15655517578125, 551.0157470703125}}} 867 {{{900.0235595703125, 551.60284423828125}, {900.06072998046875, 551.297058105468 75}, {900.15655517578125, 551.0157470703125}}}
868 </div> 868 </div>
869 869
870 <div id="cubicLineMiss1">
871 {{{-634.60540771484375, -481.262939453125}, {266.2696533203125, -752.70867919921 875}, {-751.8370361328125, -317.37921142578125}, {-969.7427978515625, 824.725585 9375}}}
872 {{{-287.9506133720805678, -557.1376476615772617}, {-285.9506133720805678, -557.1 376476615772617}}}
873 </div>
874
875 <div id="cubicLineMiss2">
876 {{{-818.4456787109375, 248.218017578125}, {944.18505859375, -252.2330322265625}, {957.3946533203125, -45.43280029296875}, {-591.766357421875, 868.6187744140625} }}
877 {{{435.1963493079119871, -16.42683763243891093}, {437.1963493079119871, -16.4268 3763243891093}}}
878 </div>
879
880 <div id="cubicLineMiss3">
881 {{{-818.4456787109375, 248.218017578125}, {944.18505859375, -252.2330322265625}, {957.3946533203125, -45.43280029296875}, {-591.766357421875, 868.6187744140625} }}
882 {{{397.5007682490800676, -17.35020084021140008}, {399.5007682490800676, -17.3502 0084021140008}}}
883 </div>
884
885 <div id="cubicLineMiss4">
886 {{{-652.660888671875, -384.6475830078125}, {-551.7723388671875, -925.50256347656 25}, {-321.06658935546875, -813.10345458984375}, {142.6982421875, -47.4503173828 125}}}
887 {{{-478.4372049758064236, -717.868282575075682}, {-476.4372049758064236, -717.86 8282575075682}}}
888 </div>
889
890 <div id="cubicLineErr1">
891 {{{-954.4322509765625, 827.2216796875}, {-420.24017333984375, -7.80560302734375} , {799.134765625, -971.4295654296875}, {-556.23486328125, 344.400146484375}}}
892
893 {{{58.57411390280688579, -302.8879316712078662}, {60.57411390280688579, -302.887 9316712078662}}}
894 </div>
895
896 <div id="cubicLineErr2">
897 {{{-634.60540771484375, -481.262939453125}, {266.2696533203125, -752.70867919921 875}, {-751.8370361328125, -317.37921142578125}, {-969.7427978515625, 824.725585 9375}}}
898 {{{-287.95061337208057, -557.13764766157726}, {-285.95061337208057, -557.1376476 6157726}}}
899 {{{-308.65463091760211, -549.4520029924679} -308.65463091760211, -569.4520029924 679
900 </div>
901
902
870 </div> 903 </div>
871 904
872 <script type="text/javascript"> 905 <script type="text/javascript">
873 906
874 var testDivs = [ 907 var testDivs = [
908 cubicLineErr2,
909 cubicLineErr1,
910 cubicLineMiss1,
911 cubicLineMiss2,
912 cubicLineMiss3,
913 cubicLineMiss4,
875 skpwww_pindosiya_com_99, 914 skpwww_pindosiya_com_99,
876 self1, 915 self1,
877 skpwww_seopack_blogspot_com_2153, 916 skpwww_seopack_blogspot_com_2153,
878 serp1, 917 serp1,
879 serp2, 918 serp2,
880 serp3, 919 serp3,
881 loop1, 920 loop1,
882 skpwww_maturesupertube_com_21, 921 skpwww_maturesupertube_com_21,
883 skpwww_cityads_ru_249, 922 skpwww_cityads_ru_249,
884 skpelpais_com_18, 923 skpelpais_com_18,
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2091 <body onLoad="start();"> 2130 <body onLoad="start();">
2092 2131
2093 <canvas id="canvas" width="750" height="500" 2132 <canvas id="canvas" width="750" height="500"
2094 onmousedown="mouseDown = true" 2133 onmousedown="mouseDown = true"
2095 onmouseup="mouseDown = false" 2134 onmouseup="mouseDown = false"
2096 onmousemove="handleMouseOver()" 2135 onmousemove="handleMouseOver()"
2097 onclick="handleMouseClick()" 2136 onclick="handleMouseClick()"
2098 ></canvas > 2137 ></canvas >
2099 </body> 2138 </body>
2100 </html> 2139 </html>
OLDNEW
« no previous file with comments | « tests/PathOpsOpTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698