Re: XImage -> GdkImage
- From: Tristan Van Berkom <tvb gnome org>
- To: Ken Siersma <siersmak ekkinc com>
- Cc: GTK+ app devel list <gtk-app-devel-list gnome org>
- Subject: Re: XImage -> GdkImage
- Date: Wed, 03 Aug 2005 12:24:24 -0400
Ken Siersma wrote:
Is there an easy way to convert an XImage to a GdkImage?
/* Draw your image to a Pixmap (now has an XID and is an X resource) */
XPutImage ();
/* Make a Gdk representation of your X resource */
gdk_pixmap_foreign_new ();
/* Get GdkImage */
gdk_drawabe_get_image ();
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]