Re: GdkPixmap
- From: Tristan Van Berkom <tvb gnome org>
- To: "[ A b h i s h e k ]" <septembereleven hotmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GdkPixmap
- Date: Wed, 16 Mar 2005 10:17:34 -0500
[ A b h i s h e k ] wrote:
Hi
I needed to know how to copy an image already in GtkImage or GdkPixbuf
format to a GdkPixmap format.
First create a pixmap of the correct dimentions:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Bitmaps-and-Pixmaps.html#gdk-pixmap-new
Then draw pixbuf to it:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Drawing-Primitives.html#gdk-draw-pixbuf
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]