From 242e3834441b1301661e3ea54231b749cc2c8274 Mon Sep 17 00:00:00 2001 From: Koichi KAMICHI Date: Tue, 16 Feb 2010 02:51:14 +0000 Subject: [PATCH] fix a bug(tome half circle) --- engine/kagecd.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 1.7.10.4