Dump Canvas to File
- From: rpadalia qatar net qa
- To: gtk-app-devel-list gnome org
- Subject: Dump Canvas to File
- Date: Wed, 18 Feb 2004 11:03:04 +0300
Hi List,
I am trying to dump gnome canvas to image file. I got following code from archive which works, however it
dumps only viewable window only.
Code:
GdkImlibImage *image =
gdk_imlib_create_image_from_drawable(canvas->window,NULL,0,0,width,height);
gdk_imlib_save_image(image, filename, info);
Questions:
1. How can I dump entire canvas drawing into a file?
2. Is there a better way to dump gnome canvas to file instead of using gdk_imlib?
(I originally posted this message to gnome-devel list without any success.)
Thanks in advance.
Best regards,
Rajesh Padalia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]