projects
/
chise
/
kage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005e148
)
Fixed drawing stroke function (type=0, a1=22, a2=0).
author
Koichi KAMICHI
<kamichi@fonts.jp>
Fri, 25 Feb 2005 04:38:32 +0000
(
04:38
+0000)
committer
Koichi KAMICHI
<kamichi@fonts.jp>
Fri, 25 Feb 2005 04:38:32 +0000
(
04:38
+0000)
kagecgi/kagecd.c
patch
|
blob
|
history
diff --git
a/kagecgi/kagecd.c
b/kagecgi/kagecd.c
index
17c6a91
..
202d870
100755
(executable)
--- a/
kagecgi/kagecd.c
+++ b/
kagecgi/kagecd.c
@@
-1249,7
+1249,7
@@
void cdDrawLine(double tx1, double ty1, double tx2, double ty2, int ta1, int ta2
}
\r
else{ //for others, use x-axis
\r
rad = atan((double)(y2 - y1) / (double)(x2 - x1));
\r
- if((abs(y2 - y1) < abs(x2 - x1)) && (a1 != 6) && (a2 != 6)){ //ASAI KAUDO
\r
+ if((abs(y2 - y1) < abs(x2 - x1)) && (a1 != 6) && (a2 != 6) && !(a1 == 22 && a2 == 0)){ //ASAI KAUDO
\r
switch(a1){ //must be 0 or 2
\r
case 0:
\r
poly[0].X = x1 + sin(rad) * kMinWidthY;
\r