Hi Ales, El lun, 10-10-2005 a las 22:39 -0400, Ales Hvezda escribió: > >> I think that getting rid of libgdgeda is a great idea, but if we are going > >> to do that, we have to make sure we can do all the rendering without > >> creatin > >g > >> a gui window etc... otherwise we are no better than the (my) existing > >> (lame) > > > >> implementation for creating pngs. > > > >I think it's not so simple. I will get picture png support working > >first...
Well, hard work is done. I got PNG images without using libgdgeda at all. I have not compiled gschem with libgdgeda support, so maybe there are some differences between the two ways, but this should be minor tweaking now. > Yuck. Hmmm, is this restriction still true if you want to > render into a gdk pixmap? > probably not, but I have not tested it. I made a copy of the toplevel structure and I used a gdk pixmap when drawing the schematic to a drawable, just before getting the pixbuf from it (I couldn't use a gdk_drawing_area because it was not visible). Using this trick, I think the window flashing when exporting to PNG is also removed. Regards, Carlos