[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

export dialog (was: gEDA-dev: gEDA/gaf release plans)



El miÃ, 25-04-2007 a las 12:55 +0100, Peter TB Brett escribiÃ:
> > I woud like to have an ability to export EPS from gschem. Most of the code
> > for this could be reused from printing routine. The resulting picture
> > should be natural size (not scaled to fit a paper) and not rotated. The
> > size of picture should be based on schematic size. I have some idea how to
> > do this.
> >
> > What would be better: to have another screen dialog or try to integrate it
> > with existing one (Print or PNG export)?
> 
> It would be best to extend the PNG export dialog to be a generic "graphics 
> export" dialog, I think.

The export dialog was changed on 2007-02-22. ChangeLog:

        * lib/system-gschemrc.in : Changed the title of the save image 
          dialog from "Write PNG..." to "Write image...", since gschem
can
          now support more types than PNG.

        * include/prototype.h, src/g_funcs.c, src/i_callbacks.c, 
          src/x_image.c:
          Changed the export image dialog by a new one using a GTK
          file chooser dialog with image size and image type drop-down 
          lists.
          If compiled without libgd support (therefore using
libgdk-pixbuf),
          gschem will support several image types (like PNG, JPEG and
ICO).

If you compile libgeda and gschem without LIBGD support (default option
now), gschem will use gtk-pixbuf, and it can support all formats
supported by GTK (at that time they were PNG, JPEG and ICO). 

If you want to support more types, I'd suggest to add them to gdk-pixbuf
and gschem will support it automatically.

Regards,

Carlos



_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev