[Gtk-sharp-list] Get colour of pixel in Gdk.Pixmap

Thomas Pryds Lauritsen pryds at duckburg.dk
Fri Jun 24 11:24:05 EDT 2005


I have a Gdk.Pixmap p from which I need to fetch the colour of certain
pixels. Something like

Gdk.Color c = p.getColorOfPixel(x, y);

would be preferred, but I haven't been able to find any info on this
matter. Surely this must be possible, but the question is: how?

Thanks in advance,
Thomas


More information about the Gtk-sharp-list mailing list