freebsd-ports/cad/spice/files/patch-src_lib_fte_grid_c
Maho Nakata 43801110c6 1. REAL cleaning on this port. The files dir is now organized so the
port can be maintained: previously there were multifile patches and several
patches for the same file, now it is a lot cleaner.

2. I also merged a memory leak fix and some fixes from
spice3f5-spaghetti.

4. MFB and removed GNUREADLINE support

5. honor CFLAGS and CC.

6. Add documentation.

7. Maho didn't change the name of port spice to spice3.
because spice4 might :) appear in the future. version number
should be listed on *only* PORTVERSION.

8. drom maintainership

PR:		54603
Submitted by:	"Pedro F. Giffuni" <giffunip@yahoo.com>
2003-07-19 03:13:48 +00:00

62 lines
1.9 KiB
Text

--- src/lib/fte/grid.c.orig Sun Apr 25 16:53:11 1993
+++ src/lib/fte/grid.c Thu Jul 17 00:47:51 2003
@@ -1230,7 +1230,10 @@
/* SetLinestyle(1); takes too long */
/* Problems with Suns on very large radii && linestyle */
- SetLinestyle(0);
+ /* SetLinestyle(0); */
+ /* linestyle 1 looks better
+ Guenther Roehrich 22-Jan-99 */
+ SetLinestyle(1);
/* Now plot all the arc sets. Go as high as 5 times the radius that
* will fit on the screen. The base magnitude is one more than
@@ -1409,7 +1412,10 @@
/* Let's be lazy and just draw everything -- we won't get called too
* much and the circles get clipped anyway...
*/
- SetColor(18);
+ /* SetColor(18); */
+ /* draw everything in black
+ Guenther Roehrich 22-Jan-99 */
+ SetColor(1);
cliparc((double) (centx + xoffset + radoff - rad),
(double) (centy + yoffset), rad, 2*angle,
@@ -1424,7 +1430,10 @@
M_PI - 2 * angle, centx, centy, maxrad, 0);
/* Draw the upper and lower circles. */
- SetColor(19);
+ /* SetColor(19); */
+ /* draw everything in black
+ Guenther Roehrich 22-Jan-99 */
+ SetColor(1);
aclip = cliparc((double) (centx + xoffset + radoff),
(double) (centy + yoffset + irad), irad,
(double) (M_PI * 1.5 + 2 * iangle),
@@ -1441,7 +1450,10 @@
adddeglabel(graph, ndeg, xlab, ylab,
gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter);
*/
- SetColor(19);
+ /* SetColor(19); */
+ /* draw everything in black
+ Guenther Roehrich 22-Jan-99 */
+ SetColor(1);
}
}
aclip = cliparc((double) (centx + xoffset + radoff),
@@ -1455,7 +1467,10 @@
SetColor(1);
adddeglabel(graph, ndeg, xlab, ylab,
gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter);
- SetColor(19);
+ /* SetColor(19); */
+ /* draw everything in black
+ Guenther Roehrich 22-Jan-99 */
+ SetColor(1);
}
/* Now toss the labels on... */