Re: pixmap
- From: Havoc Pennington <hp redhat com>
- To: Thomas Amsler <tpamsler ucdavis edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: pixmap
- Date: 10 Oct 2000 11:38:13 -0400
Thomas Amsler <tpamsler ucdavis edu> writes:
I can access that data in a pixbuf with "gdk_pixbuf_get_pixels(pixbuf)".
Is there a similar function to do this for a pixmap? If not, how can I
access a pixmap's data?
The pixmap is across a socket on the X server, it's a remote object
not in your application's address space. So getting the pixels is
sloooow and in general if you're doing that using a pixmap is a
mistake (though there are exceptions to the rule).
That said, I think gdk-pixbuf has a get_from_drawable() function to
get them as a pixbuf.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]