Remove unrelated file.
authorKoichi KAMICHI <kamichi@fonts.jp>
Thu, 12 Feb 2004 07:39:57 +0000 (07:39 +0000)
committerKoichi KAMICHI <kamichi@fonts.jp>
Thu, 12 Feb 2004 07:39:57 +0000 (07:39 +0000)
kagecgi/.DS_Store [deleted file]
kagecgi/kagecd.c

diff --git a/kagecgi/.DS_Store b/kagecgi/.DS_Store
deleted file mode 100644 (file)
index 1a57a1e..0000000
Binary files a/kagecgi/.DS_Store and /dev/null differ
index 93fc8e2..2b820f2 100755 (executable)
@@ -597,71 +597,71 @@ void cdDrawLine(int tx1, int ty1, int tx2, int ty2, int ta1, int ta2){
                if(x1 == x2){ //if TATE stroke, use y-axis\r
                        switch(a1){\r
                        case 0:\r
-                               poly[0].X = x1 - kMinWidthT;\r
-                               poly[0].Y = y1 - kMinWidthY / 2;\r
-                               poly[3].X = x1 + kMinWidthT;\r
-                               poly[3].Y = y1 + kMinWidthY / 2;\r
+                               poly[3].X = x1 - kMinWidthT;\r
+                               poly[3].Y = y1 - kMinWidthY / 2;\r
+                               poly[0].X = x1 + kMinWidthT;\r
+                               poly[0].Y = y1 + kMinWidthY / 2;\r
                                break;\r
                        case 1:\r
                        case 6:\r
                        case 22:\r
-                               poly[0].X = x1 - kMinWidthT;\r
-                               poly[0].Y = y1;\r
-                               poly[3].X = x1 + kMinWidthT;\r
+                               poly[3].X = x1 - kMinWidthT;\r
                                poly[3].Y = y1;\r
+                               poly[0].X = x1 + kMinWidthT;\r
+                               poly[0].Y = y1;\r
                                break;\r
                        case 12:\r
-                               poly[0].X = x1 - kMinWidthT;\r
-                               poly[0].Y = y1 - kMinWidthY - kMinWidthT;\r
-                               poly[3].X = x1 + kMinWidthT;\r
-                               poly[3].Y = y1 - kMinWidthY;\r
+                               poly[3].X = x1 - kMinWidthT;\r
+                               poly[3].Y = y1 - kMinWidthY - kMinWidthT;\r
+                               poly[0].X = x1 + kMinWidthT;\r
+                               poly[0].Y = y1 - kMinWidthY;\r
                                break;\r
                        case 32:\r
-                               poly[0].X = x1 - kMinWidthT;\r
-                               poly[0].Y = y1 - kMinWidthY;\r
-                               poly[3].X = x1 + kMinWidthT;\r
+                               poly[3].X = x1 - kMinWidthT;\r
                                poly[3].Y = y1 - kMinWidthY;\r
+                               poly[0].X = x1 + kMinWidthT;\r
+                               poly[0].Y = y1 - kMinWidthY;\r
                                break;\r
                        }\r
                        \r
                        switch(a2){\r
                        case 0:\r
                                if(a1 == 6){ //KAGI's tail\r
-                                       poly[1].X = x2 - kMinWidthT;\r
-                                       poly[1].Y = y2;\r
-                                       poly[2].X = x2 + kMinWidthT;\r
+                                       poly[2].X = x2 - kMinWidthT;\r
                                        poly[2].Y = y2;\r
+                                       poly[1].X = x2 + kMinWidthT;\r
+                                       poly[1].Y = y2;\r
                                }\r
                                else{\r
-                                       poly[1].X = x2 - kMinWidthT;\r
-                                       poly[1].Y = y2 + kMinWidthT / 2;\r
-                                       poly[2].X = x2 + kMinWidthT;\r
-                                       poly[2].Y = y2 - kMinWidthT / 2;\r
+                                       poly[2].X = x2 - kMinWidthT;\r
+                                       poly[2].Y = y2 + kMinWidthT / 2;\r
+                                       poly[1].X = x2 + kMinWidthT;\r
+                                       poly[1].Y = y2 - kMinWidthT / 2;\r
                                }\r
                                break;\r
                        case 1:\r
-                               poly[1].X = x2 - kMinWidthT;\r
-                               poly[1].Y = y2;\r
-                               poly[2].X = x2 + kMinWidthT;\r
+                               poly[2].X = x2 - kMinWidthT;\r
                                poly[2].Y = y2;\r
+                               poly[1].X = x2 + kMinWidthT;\r
+                               poly[1].Y = y2;\r
                                break;\r
                        case 13:\r
-                               poly[1].X = x2 - kMinWidthT;\r
-                               poly[1].Y = y2 + kWidth * kKakato + kMinWidthT;\r
-                               poly[2].X = x2 + kMinWidthT;\r
-                               poly[2].Y = y2 + kWidth * kKakato;\r
+                               poly[2].X = x2 - kMinWidthT;\r
+                               poly[2].Y = y2 + kWidth * kKakato + kMinWidthT;\r
+                               poly[1].X = x2 + kMinWidthT;\r
+                               poly[1].Y = y2 + kWidth * kKakato;\r
                                break;\r
                        case 23:\r
-                               poly[1].X = x2 - kMinWidthT;\r
-                               poly[1].Y = y2 + kWidth * kKakato * 0.5 + kMinWidthT;\r
-                               poly[2].X = x2 + kMinWidthT;\r
-                               poly[2].Y = y2 + kWidth * kKakato * 0.5;\r
+                               poly[2].X = x2 - kMinWidthT;\r
+                               poly[2].Y = y2 + kWidth * kKakato * 0.5 + kMinWidthT;\r
+                               poly[1].X = x2 + kMinWidthT;\r
+                               poly[1].Y = y2 + kWidth * kKakato * 0.5;\r
                                break;\r
                        case 32:\r
-                               poly[1].X = x2 - kMinWidthT;\r
-                               poly[1].Y = y2 + kMinWidthY;\r
-                               poly[2].X = x2 + kMinWidthT;\r
+                               poly[2].X = x2 - kMinWidthT;\r
                                poly[2].Y = y2 + kMinWidthY;\r
+                               poly[1].X = x2 + kMinWidthT;\r
+                               poly[1].Y = y2 + kMinWidthY;\r
                                break;\r
                        }\r
                        \r
@@ -692,16 +692,16 @@ void cdDrawLine(int tx1, int ty1, int tx2, int ty2, int ta1, int ta2){
                        }\r
                        \r
                        if((a1 == 6 && a2 == 0) || a2 == 1){ //KAGI NO YOKO BOU NO SAIGO NO MARU\r
-                               poly3[0].X = x2 - kMinWidthT;\r
-                               poly3[0].Y = y2;\r
-                               poly3[1].X = x2 - kMinWidthT * 0.6;\r
-                               poly3[1].Y = y2 + kMinWidthT * 0.6;\r
+                               poly3[4].X = x2 - kMinWidthT;\r
+                               poly3[4].Y = y2;\r
+                               poly3[3].X = x2 - kMinWidthT * 0.6;\r
+                               poly3[3].Y = y2 + kMinWidthT * 0.6;\r
                                poly3[2].X = x2;\r
                                poly3[2].Y = y2 + kMinWidthT;\r
-                               poly3[3].X = x2 + kMinWidthT * 0.6;\r
-                               poly3[3].Y = y2 + kMinWidthT * 0.6;\r
-                               poly3[4].X = x2 + kMinWidthT;\r
-                               poly3[4].Y = y2;\r
+                               poly3[1].X = x2 + kMinWidthT * 0.6;\r
+                               poly3[1].Y = y2 + kMinWidthT * 0.6;\r
+                               poly3[0].X = x2 + kMinWidthT;\r
+                               poly3[0].Y = y2;\r
                                icPolygon(poly3, 5);\r
                        }\r
                }\r