Refixed TOME.
authorKoichi KAMICHI <kamichi@fonts.jp>
Wed, 30 Jul 2008 05:38:34 +0000 (05:38 +0000)
committerKoichi KAMICHI <kamichi@fonts.jp>
Wed, 30 Jul 2008 05:38:34 +0000 (05:38 +0000)
engine/kagecd.js

index 9e19cdd..d9f2e93 100755 (executable)
@@ -250,29 +250,29 @@ function cdDrawBezier(kage, polygons, x1, y1, x2, y2, x3, y3, x4, y4, a1, a2){
       if(x3 == x4){\r
         poly = Polygon();\r
         poly.push(x4 - kage.kMinWidthT, y4);\r
-        poly.push(x4 - kage.kMinWidthT * 0.8, y4 + kage.kMinWidthT * 0.8);\r
+        poly.push(x4 - kage.kMinWidthT * 0.7, y4 + kage.kMinWidthT * 0.7);\r
         poly.push(x4, y4 + kage.kMinWidthT);\r
-        poly.push(x4 + kage.kMinWidthT * 0.8, y4 + kage.kMinWidthT * 0.8);\r
+        poly.push(x4 + kage.kMinWidthT * 0.7, y4 + kage.kMinWidthT * 0.7);\r
         poly.push(x4 + kage.kMinWidthT, y4);\r
         polygons.push(poly);\r
       }\r
       else if(y3 == y4){\r
         poly = new Polygon();\r
         poly.push(x4, y4 - kage.kMinWidthT);\r
-        poly.push(x4 + kage.kMinWidthT * 0.8, y4 - kage.kMinWidthT * 0.8);\r
+        poly.push(x4 + kage.kMinWidthT * 0.7, y4 - kage.kMinWidthT * 0.7);\r
         poly.push(x4 + kage.kMinWidthT, y4);\r
-        poly.push(x4 + kage.kMinWidthT * 0.8, y4 + kage.kMinWidthT * 0.8);\r
+        poly.push(x4 + kage.kMinWidthT * 0.7, y4 + kage.kMinWidthT * 0.7);\r
         poly.push(x4, y4 + kage.kMinWidthT);\r
         polygons.push(poly);\r
       }\r
       else{\r
         poly = new Polygon();\r
         poly.push(x4 + Math.sin(rad) * kage.kMinWidthT * v, y4 - Math.cos(rad) * kage.kMinWidthT * v);\r
-        poly.push(x4 + Math.cos(rad) * kage.kMinWidthT * 0.8 * v + Math.sin(rad) * kage.kMinWidthT * 0.8 * v,\r
-                  y4 + Math.sin(rad) * kage.kMinWidthT * 0.8 * v - Math.cos(rad) * kage.kMinWidthT * 0.8 * v);\r
+        poly.push(x4 + Math.cos(rad) * kage.kMinWidthT * 0.7 * v + Math.sin(rad) * kage.kMinWidthT * 0.7 * v,\r
+                  y4 + Math.sin(rad) * kage.kMinWidthT * 0.7 * v - Math.cos(rad) * kage.kMinWidthT * 0.7 * v);\r
         poly.push(x4 + Math.cos(rad) * kage.kMinWidthT * v, y4 + Math.sin(rad) * kage.kMinWidthT * v);\r
-        poly.push(x4 + Math.cos(rad) * kage.kMinWidthT * 0.8 * v - Math.sin(rad) * kage.kMinWidthT * 0.8 * v,\r
-                  y4 + Math.sin(rad) * kage.kMinWidthT * 0.8 * v + Math.cos(rad) * kage.kMinWidthT * 0.8 * v);\r
+        poly.push(x4 + Math.cos(rad) * kage.kMinWidthT * 0.7 * v - Math.sin(rad) * kage.kMinWidthT * 0.7 * v,\r
+                  y4 + Math.sin(rad) * kage.kMinWidthT * 0.7 * v + Math.cos(rad) * kage.kMinWidthT * 0.7 * v);\r
         poly.push(x4 - Math.sin(rad) * kage.kMinWidthT * v, y4 + Math.cos(rad) * kage.kMinWidthT * v);\r
         polygons.push(poly);\r
       }\r
@@ -726,29 +726,29 @@ function cdDrawCurve(kage, polygons, x1, y1, x2, y2, x3, y3, a1, a2){
       if(x2 == x3){\r
         poly = new Polygon();\r
         poly.push(x3 - kage.kMinWidthT, y3);\r
-        poly.push(x3 - kage.kMinWidthT * 0.8, y3 + kage.kMinWidthT * 0.8);\r
+        poly.push(x3 - kage.kMinWidthT * 0.7, y3 + kage.kMinWidthT * 0.7);\r
         poly.push(x3, y3 + kage.kMinWidthT);\r
-        poly.push(x3 + kage.kMinWidthT * 0.8, y3 + kage.kMinWidthT * 0.8);\r
+        poly.push(x3 + kage.kMinWidthT * 0.7, y3 + kage.kMinWidthT * 0.7);\r
         poly.push(x3 + kage.kMinWidthT, y3);\r
         polygons.push(poly);\r
       }\r
       else if(y2 == y3){\r
         poly = new Polygon();\r
         poly.push(x3, y3 - kage.kMinWidthT);\r
-        poly.push(x3 + kage.kMinWidthT * 0.8, y3 - kage.kMinWidthT * 0.8);\r
+        poly.push(x3 + kage.kMinWidthT * 0.7, y3 - kage.kMinWidthT * 0.7);\r
         poly.push(x3 + kage.kMinWidthT, y3);\r
-        poly.push(x3 + kage.kMinWidthT * 0.8, y3 + kage.kMinWidthT * 0.8);\r
+        poly.push(x3 + kage.kMinWidthT * 0.7, y3 + kage.kMinWidthT * 0.7);\r
         poly.push(x3, y3 + kage.kMinWidthT);\r
         polygons.push(poly);\r
       }\r
       else{\r
         poly = new Polygon();\r
         poly.push(x3 + Math.sin(rad) * kage.kMinWidthT * v, y3 - Math.cos(rad) * kage.kMinWidthT * v);\r
-        poly.push(x3 + Math.cos(rad) * kage.kMinWidthT * 0.8 * v + Math.sin(rad) * kage.kMinWidthT * 0.8 * v,\r
-                  y3 + Math.sin(rad) * kage.kMinWidthT * 0.8 * v - Math.cos(rad) * kage.kMinWidthT * 0.8 * v);\r
+        poly.push(x3 + Math.cos(rad) * kage.kMinWidthT * 0.7 * v + Math.sin(rad) * kage.kMinWidthT * 0.7 * v,\r
+                  y3 + Math.sin(rad) * kage.kMinWidthT * 0.7 * v - Math.cos(rad) * kage.kMinWidthT * 0.7 * v);\r
         poly.push(x3 + Math.cos(rad) * kage.kMinWidthT * v, y3 + Math.sin(rad) * kage.kMinWidthT * v);\r
-        poly.push(x3 + Math.cos(rad) * kage.kMinWidthT * 0.8 * v - Math.sin(rad) * kage.kMinWidthT * 0.8 * v,\r
-                  y3 + Math.sin(rad) * kage.kMinWidthT * 0.8 * v + Math.cos(rad) * kage.kMinWidthT * 0.8 * v);\r
+        poly.push(x3 + Math.cos(rad) * kage.kMinWidthT * 0.7 * v - Math.sin(rad) * kage.kMinWidthT * 0.7 * v,\r
+                  y3 + Math.sin(rad) * kage.kMinWidthT * 0.7 * v + Math.cos(rad) * kage.kMinWidthT * 0.7 * v);\r
         poly.push(x3 - Math.sin(rad) * kage.kMinWidthT * v, y3 + Math.cos(rad) * kage.kMinWidthT * v);\r
         polygons.push(poly);\r
       }\r