Re: Rendering Canvas to pixmap



Hello!

It is possible with some ugly hackery. Look into gnome-print-rgbp in gnome-print,
how things are done there.
Still I'd suggest to switch to gnome-print for outputting, so you can much better
fine-tune your output resolution etc.
There is even gnome-print-pixbuf printing context (driver), that generates GdkPixbufs from
print job, which you can later grab and do watever you want.

Lauris Kaplinski

On 12 Feb 2001 17:58:36 +0200, Moonshade wrote:
> 
> 
> Hello everyone!
> Got a question about canvas here.
> Is it possible to render specified area of GnomeCanvas in to pixmap and save it to file later
> (Imlib or GdkPixbuf will help maybe)? I know printing/postscript generation will be handled by
> Gnomeprint in the future, but i only need a raw image file right now. My applications uses 
> canvas to draw maps and I would like to see some kind of output, not screen image only :-).
> 
> 
> 
> 
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list





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