From: Koichi KAMICHI Date: Wed, 30 Jul 2008 06:05:07 +0000 (+0000) Subject: Fixed top-right corner (22) for stroke type 3. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ec97c074803df48b57afe185555b95de497d6b;p=chise%2Fkage.git Fixed top-right corner (22) for stroke type 3. --- diff --git a/engine/kagecd.js b/engine/kagecd.js index e733c16..394c20e 100755 --- a/engine/kagecd.js +++ b/engine/kagecd.js @@ -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); poly.push(x1 + kage.kMinWidthT + kage.kWidth, y1 + kage.kMinWidthY); poly.push(x1 + kage.kMinWidthT, y1 + kage.kMinWidthT); - poly.push(x1 - kage.kMinWidthT, y1); + poly.push(x1, y1 + kage.kMinWidthT); polygons.push(poly); }