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

Thomas Pryds Lauritsen pryds@duckburg.dk
Sun, 08 May 2005 17:27:50 +0200


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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCfi/129+7ChTwyPURAic9AJ9+ACWEEKzlL/SC+2qAAWpc3USQUgCfX2Ha
7VCtSDwSct+HAMOSrVmQEW4=
=e92y
-----END PGP SIGNATURE-----