From: Koichi KAMICHI Date: Tue, 16 Feb 2010 02:51:14 +0000 (+0000) Subject: fix a bug(tome half circle) X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=242e3834441b1301661e3ea54231b749cc2c8274;p=chise%2Fkage.git fix a bug(tome half circle) --- diff --git a/engine/kagecd.js b/engine/kagecd.js index 99a8ab5..fd80cf8 100755 --- a/engine/kagecd.js +++ b/engine/kagecd.js @@ -465,11 +465,11 @@ function cdDrawCurveU(kage, polygons, x1, y1, sx1, sy1, sx2, sy2, x2, y2, ta1, t poly = new Polygon(); if(kage.kUseCurve){ // by curve path - poly.push(x2 - kMinWidthT, y2); - poly.push(x2 - kMinWidthT, y2 + kMinWidthT, 1); - poly.push(x2, y2 + kMinWidthT); - poly.push(x2 + kMinWidthT, y2 + kMinWidthT, 1); + poly.push(x2, y2 - kMinWidthT); + poly.push(x2 + kMinWidthT * 0.9, y2 - kMinWidthT * 0.9, 1); poly.push(x2 + kMinWidthT, y2); + poly.push(x2 + kMinWidthT * 0.9, y2 + kMinWidthT * 0.9, 1); + poly.push(x2, y2 + kMinWidthT); } else { // by polygon poly.push(x2, y2 - kMinWidthT);