Lines 1-6
Link Here
|
1 |
--- src/lib/fte/grid.c.orig Sun Apr 25 16:53:11 1993 |
1 |
--- src/lib/fte/grid.c.orig Sun Apr 25 23:53:11 1993 |
2 |
+++ src/lib/fte/grid.c Thu Jul 17 00:47:51 2003 |
2 |
+++ src/lib/fte/grid.c Sat Oct 7 16:00:37 2006 |
3 |
@@ -1230,7 +1230,10 @@ |
3 |
@@ -26,6 +26,8 @@ |
|
|
4 |
static void arcset(); |
5 |
static double cliparc(); |
6 |
static void adddeglabel(), addradlabel(); |
7 |
+static drawloggrid(); |
8 |
+static drawlingrid(); |
9 |
|
10 |
typedef enum { x_axis, y_axis } Axis; |
11 |
|
12 |
@@ -1230,7 +1232,10 @@ |
4 |
|
13 |
|
5 |
/* SetLinestyle(1); takes too long */ |
14 |
/* SetLinestyle(1); takes too long */ |
6 |
/* Problems with Suns on very large radii && linestyle */ |
15 |
/* Problems with Suns on very large radii && linestyle */ |
Lines 12-18
Link Here
|
12 |
|
21 |
|
13 |
/* Now plot all the arc sets. Go as high as 5 times the radius that |
22 |
/* Now plot all the arc sets. Go as high as 5 times the radius that |
14 |
* will fit on the screen. The base magnitude is one more than |
23 |
* will fit on the screen. The base magnitude is one more than |
15 |
@@ -1409,7 +1412,10 @@ |
24 |
@@ -1409,7 +1414,10 @@ |
16 |
/* Let's be lazy and just draw everything -- we won't get called too |
25 |
/* Let's be lazy and just draw everything -- we won't get called too |
17 |
* much and the circles get clipped anyway... |
26 |
* much and the circles get clipped anyway... |
18 |
*/ |
27 |
*/ |
Lines 24-30
Link Here
|
24 |
|
33 |
|
25 |
cliparc((double) (centx + xoffset + radoff - rad), |
34 |
cliparc((double) (centx + xoffset + radoff - rad), |
26 |
(double) (centy + yoffset), rad, 2*angle, |
35 |
(double) (centy + yoffset), rad, 2*angle, |
27 |
@@ -1424,7 +1430,10 @@ |
36 |
@@ -1424,7 +1432,10 @@ |
28 |
M_PI - 2 * angle, centx, centy, maxrad, 0); |
37 |
M_PI - 2 * angle, centx, centy, maxrad, 0); |
29 |
|
38 |
|
30 |
/* Draw the upper and lower circles. */ |
39 |
/* Draw the upper and lower circles. */ |
Lines 36-42
Link Here
|
36 |
aclip = cliparc((double) (centx + xoffset + radoff), |
45 |
aclip = cliparc((double) (centx + xoffset + radoff), |
37 |
(double) (centy + yoffset + irad), irad, |
46 |
(double) (centy + yoffset + irad), irad, |
38 |
(double) (M_PI * 1.5 + 2 * iangle), |
47 |
(double) (M_PI * 1.5 + 2 * iangle), |
39 |
@@ -1441,7 +1450,10 @@ |
48 |
@@ -1441,7 +1452,10 @@ |
40 |
adddeglabel(graph, ndeg, xlab, ylab, |
49 |
adddeglabel(graph, ndeg, xlab, ylab, |
41 |
gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter); |
50 |
gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter); |
42 |
*/ |
51 |
*/ |
Lines 48-54
Link Here
|
48 |
} |
57 |
} |
49 |
} |
58 |
} |
50 |
aclip = cliparc((double) (centx + xoffset + radoff), |
59 |
aclip = cliparc((double) (centx + xoffset + radoff), |
51 |
@@ -1455,7 +1467,10 @@ |
60 |
@@ -1455,7 +1469,10 @@ |
52 |
SetColor(1); |
61 |
SetColor(1); |
53 |
adddeglabel(graph, ndeg, xlab, ylab, |
62 |
adddeglabel(graph, ndeg, xlab, ylab, |
54 |
gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter); |
63 |
gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter); |