Re: Drawing 1-bit bitmaps



Arg! Yes, I was careless when I wrote that, and got it horribly wrong, mixing up client-side vs. server-side and Gtk- vs. Gdk-.

GdkPixmap: server-side
GdkImage and GdkPixbuf: client-side
GtkImage: something completely different from GdkImage

I've never bothered with GdkImage myself. I prefer to use GdkPixbuf instead.

Sorry about that.

JV

On Thu, 20 Oct 2005, George Williams wrote:

On Wed, 2005-10-19 at 21:16, John Vetterli wrote:
The GtkPixmap encapsulates client side pixmaps and bitmaps, but I haven't
Are you sure about that? The docs I have say they are server-side (From
GtkPixmap.html):
       The pixels in a GtkPixmap cannot be manipulated by the
       application after creation, since under the X Window system the
       pixel data is stored on the X server and so is not available to
       the client application.

GtkPixmap refers me to GtkImage for client side stuff. GtkImage appears
to be based on GdkImage (and GdkBitmap -- server-side). GdkImage does
include a bitmap function but says:
        a) it is depreciated
        b) it is incredibly broken
Which doesn't give me much confidence that bitmap GdkImages could be
made to work.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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