Hi,

"Eleni Ryan" <[EMAIL PROTECTED]> writes:

> I want to get & then set a pixel value from a GdkPixmap, but can't seem to
> find where to start.  I see that pixels can be manipulated in a GdkImage
> using gdk_image_get_pixel() & gdk_image_put_pixel(), however I need to
> manipulate an off-screen pixmap rather than a copy of the window.

are you sure you want to manipulate a pixmap, which is a server-side
resource, in such a way? You can draw a pixel to the pixmap using 
gdk_draw_rectangle() but IIRC, X11 does not provide an API to get a
pixel value from a pixmap and so does GDK.


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to