[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_image.c
User: cnieves
Date: 06/09/30 16:03:32
Modified: . x_image.c
Log:
Added the border in the gdk-pixbuf's image output. Fix bug #1565433.
Revision Changes Path
1.26 +3 -0 eda/geda/gaf/gschem/src/x_image.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_image.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_image.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- x_image.c 22 Sep 2006 18:48:09 -0000 1.25
+++ x_image.c 30 Sep 2006 20:03:32 -0000 1.26
@@ -645,11 +645,13 @@
origin_x = origin_y = 0;
right = size_x;
bottom = size_y;
+
/* ------------------ Begin optional code ------------------------ */
/* If the the code in this region is commented, the PNG returned will
be the same as the one returned using libgd.
I mean: there will be some border all around the schematic.
This code is used to adjust the schematic to the border of the image */
+#if 0
/* Do a zoom extents to get fit all the schematic in the window */
/* Commented so the image returned will be the same as with libgd */
@@ -678,6 +680,7 @@
&origin_x, &origin_y,
&right, &bottom);
}
+#endif
/* ------------------ End optional code ------------------------ */
o_redraw_all (&toplevel);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs