Re: From GdkPixbuf to GdkImage



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/21/2010 04:18 PM, Gabriele Greco wrote:
As subject says, what is the correct way to blit from a GdkPixbuf to a
GdkImage without passing through a drawable?

I *know* you asked for GdkImage.

That I do not know. My usage has been from GdkPixbuf to GtkImage -- Hope this
might help...

I loaded a GdkPixbuf and then gtk_image_set_from_pixbuf to extract the image
into a GtkImage.

Hope that helps (or leads to something useful for you :-)

All the best,

- -Greg

- -- 
+---------------------------------------------------------------------+

Please also check the log file at "/dev/null" for additional information.
                (from /var/log/Xorg.setup.log)

| Greg Hosler                                   ghosler redhat com    |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxGxDgACgkQ404fl/0CV/QfsQCgrZhnVS6qepr6wMcfuiJVFvPy
G8oAoIH8VlZbULkBGIVNWedII5h2s/fd
=3hMm
-----END PGP SIGNATURE-----



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