Mercurial > laserkard
view onlypaths/js/vmlpaths.js @ 58:9d156039944e laserkard
[svn r59] final modifacatios wqith kevin
author | rlm |
---|---|
date | Sun, 14 Mar 2010 01:51:23 -0500 |
parents | 26c2b3ad21c7 |
children |
line wrap: on
line source
1 var k = (Math.sqrt(2)-1)*4/3;2 var mult=50;3 var circleTanslatex=100;4 var circleTanslatey=200;7 var forma=new Array();8 forma[0]="m"+circleTanslatex+","+(circleTanslatey+mult)+" l"+(circleTanslatex+mult*k)+","+(circleTanslatey+mult)+" "+(circleTanslatex+mult)+","+(circleTanslatey+mult*k)+" "+(circleTanslatex+mult)+","+circleTanslatey+", "+(circleTanslatex+mult)+","+(circleTanslatey-mult*k)+", "+(circleTanslatex+mult*k)+","+(circleTanslatey-mult)+", "+circleTanslatex+","+(circleTanslatey-mult)+", "+(circleTanslatex-mult*k)+","+(circleTanslatey-mult)+", "+(circleTanslatex-mult)+","+(circleTanslatey-mult*k)+", "+(circleTanslatex-mult)+","+(circleTanslatey)+", "+(circleTanslatex-mult)+","+(circleTanslatey+mult*k)+", "+(circleTanslatex-mult*k)+","+(circleTanslatey+mult)+", "+circleTanslatex+","+(circleTanslatey+mult)+"xe";9 forma[1]="m493,182 c493,223,405,255,296,255,187,255,99,223,99,182 l99,350 c99,391,187,423,296,423,405,423,493,391,493,350 l493,182 e"10 forma[2]="m296,255 c405,255,493,223,493,182,493,142,405,109,296,109,187,109,99,142,99,182,99,223,187,255,296,255 e";11 forma[3]="m-465,-352l-465,-468,-284,-468,-284,-352,-465,-352xe"12 forma[4]="m3519,1316 l 3553,1306 3589,1296 3606,1291 3642,1283 3660,1280 3674,1279 3689,1279 3704,1281 3720,1282 3735,1283 3749,1283 3756,1282 3763,1280 3770,1277 3776,1274 3782,1269 3787,1264 3795,1252 3801,1238 3811,1208 3817,1193 3820,1186 3828,1172 3833,1167 3841,1160 3849,1154 3858,1149 3868,1145 3878,1142 3889,1139 3900,1137 3910,1135 3921,1135 3933,1137 3957,1143 3969,1145 3981,1146 3986,1146 3992,1145 3997,1144 4002,1141 4008,1137 4014,1132 4019,1127 4024,1121 4033,1108 4061,1048 4069,1034 4065,1053 4062,1073 4060,1094 4058,1114 4056,1124 4054,1133 4052,1143 4049,1152 4041,1168 4029,1182 4023,1186 4017,1189 4010,1191 3996,1193 3988,1192 3981,1191 3973,1190 3956,1187 3940,1184 3932,1183 3925,1183 3917,1184 3910,1185 3905,1187 3895,1193 3887,1203 3884,1208 3880,1213 3877,1218 3868,1230 3852,1258 3845,1272 3837,1285 3828,1297 3823,1303 3818,1308 3806,1316 3798,1320 3789,1323 3771,1327 3752,1329 3733,1330 3713,1330 3694,1330 3675,1332 3656,1335 3641,1339 3626,1345 3611,1350 3581,1364 3566,1370 3551,1377 3536,1383 3534,1375 3532,1366 3530,1358 3528,1349 3525,1341 3523,1333 3521,1324 3519,1316x m2653,1537 l 2641,1540 2619,1546 2607,1549 2596,1552 2572,1558 2561,1561 2573,1577 2587,1595 2593,1605 2599,1614 2604,1623 2607,1632 2609,1643 2610,1654 2609,1667 2608,1679 2608,1691 2609,1702 2610,1708 2612,1712 2615,1717 2619,1721 2636,1734 2654,1746 2674,1758 2684,1762 2694,1767 2705,1771 2716,1774 2726,1776 2737,1777 2747,1777 2758,1777 2768,1775 2778,1772 2786,1768 2793,1763 2798,1757 2803,1750 2807,1742 2810,1734 2813,1724 2815,1715 2819,1695 2824,1675 2830,1657 2834,1648 2839,1641 2843,1637 2847,1634 2853,1631 2859,1629 2865,1628 2871,1628 2873,1628 2877,1630 2879,1632 2882,1637 2888,1649 2890,1655 2893,1669 2896,1682 2900,1710 2904,1723 2909,1736 2915,1744 2930,1753 2936,1755 2946,1757 2959,1759 2973,1760 2986,1760 2999,1761 3013,1761 3026,1761 3040,1760 3053,1760 3114,1757 3175,1753 3235,1749 3296,1744 3418,1736 3479,1733 3540,1732 3545,1734 3550,1737 3558,1745 3562,1750 3566,1754 3568,1756 3571,1757 3573,1757 3576,1757 3587,1755 3599,1752 3611,1748 3622,1743 3644,1731 3662,1715 3670,1705 3676,1694 3682,1682 3687,1670 3691,1657 3694,1644 3698,1632 3701,1619 3702,1615 3705,1597 3707,1590 3708,1585 3710,1580 3713,1576 3722,1570 3734,1564 3748,1558 3763,1551 3779,1545 3794,1540 3807,1535 3817,1531 3808,1530 3798,1529 3787,1529 3775,1529 3751,1531 3738,1534 3726,1536 3715,1539 3703,1543 3693,1547 3684,1551 3675,1556 3668,1562 3663,1567 3659,1573 3657,1579 3656,1585 3656,1599 3657,1606 3657,1613 3657,1619 3656,1626 3654,1634 3652,1644 3649,1653 3647,1662 3644,1671 3640,1678 3637,1682 3634,1685 3628,1689 3624,1691 3619,1692 3615,1693 3611,1693 3602,1691 3592,1689 3583,1686 3573,1683 3564,1681 3555,1680 3495,1684 3435,1690 3376,1696 3316,1702 3256,1709 3197,1715 3137,1720 3078,1724 3066,1724 3042,1722 3030,1720 3019,1718 2997,1712 2986,1708 2982,1707 2977,1704 2973,1701 2967,1695 2964,1691 2962,1683 2961,1675 2962,1668 2965,1660 2967,1651 2971,1635 2972,1627 2971,1619 2967,1611 2963,1602 2958,1594 2952,1587 2938,1573 2930,1568 2922,1564 2914,1561 2905,1559 2895,1559 2886,1559 2876,1560 2867,1561 2858,1563 2831,1566 2822,1568 2813,1569 2804,1572 2796,1575 2784,1585 2782,1588 2780,1594 2780,1598 2780,1605 2782,1613 2785,1637 2784,1644 2782,1652 2779,1661 2777,1670 2769,1686 2764,1693 2761,1696 2758,1698 2754,1701 2750,1702 2739,1706 2728,1708 2716,1709 2704,1709 2692,1707 2681,1704 2671,1699 2661,1692 2659,1690 2657,1686 2656,1683 2655,1679 2655,1671 2657,1653 2659,1643 2661,1634 2661,1626 2661,1615 2659,1593 2658,1581 2656,1569 2654,1547 2653,1537xe";13 forma[5]="m1279,2755 l 1276,2766 1275,2778 1273,2789 1272,2801 1266,2834 1263,2845 1260,2855 1256,2864 1252,2874 1248,2883 1243,2892 1238,2900 1233,2907 1227,2913 1219,2917 1215,2918 1211,2918 1203,2918 1194,2918 1186,2917 1177,2918 1173,2920 1169,2921 1163,2927 1159,2932 1156,2936 1152,2948 1148,2960 1146,2973 1143,2987 1140,3000 1138,3006 1135,3011 1133,3017 1130,3021 1122,3030 1114,3038 1106,3044 1097,3049 1087,3054 1078,3059 1068,3064 1059,3070 1067,3062 1074,3054 1082,3047 1090,3039 1098,3032 1105,3023 1111,3015 1117,3006 1121,2994 1127,2968 1129,2954 1131,2941 1134,2928 1136,2922 1145,2907 1153,2899 1161,2895 1171,2892 1180,2890 1190,2888 1199,2886 1204,2884 1208,2882 1216,2876 1221,2871 1225,2865 1228,2858 1232,2850 1234,2842 1237,2834 1239,2826 1241,2819 1244,2810 1246,2802 1248,2793 1250,2785 1251,2776 1253,2768 1254,2759 1256,2751 1258,2751 1261,2752 1264,2752 1267,2753 1270,2753 1273,2754 1276,2754 1279,2755xe";14 forma[6]="m,l,21600r21600,l21600,xe";15 forma[7]=" M 0,0 L 100,100,200,0 X E";