Fixed top-right corner (22) for stroke type 3.
authorKoichi KAMICHI <kamichi@fonts.jp>
Wed, 30 Jul 2008 06:05:07 +0000 (06:05 +0000)
committerKoichi KAMICHI <kamichi@fonts.jp>
Wed, 30 Jul 2008 06:05:07 +0000 (06:05 +0000)
engine/kagecd.js

index e733c16..394c20e 100755 (executable)
@@ -189,7 +189,7 @@ function cdDrawBezier(kage, polygons, x1, y1, x2, y2, x3, y3, x4, y4, a1, a2){
       poly.push(x1, y1 - kage.kMinWidthY - kage.kWidth);\r
       poly.push(x1 + kage.kMinWidthT + kage.kWidth, y1 + kage.kMinWidthY);\r
       poly.push(x1 + kage.kMinWidthT, y1 + kage.kMinWidthT);\r
-      poly.push(x1 - kage.kMinWidthT, y1);\r
+      poly.push(x1, y1 + kage.kMinWidthT);\r
       polygons.push(poly);\r
     }\r
     \r