[Gtk-sharp-list] How to use DrawGrayImage for display an image?
Francisco Martín Rico
fmrico@telefonica.net
Tue, 08 Jun 2004 08:48:07 +0200
Hi,
I want display a gray image that I have stored in a string, but I do not
know how to use the drawable widget. In python, for example, the
function DrawGrayImage has an argument that correspond with a buffer (a
char, byte, int.. array) that contains the image, but in gtk#, the
function is
DrawGrayImage(GC, int, int, int, int, RgbDither, int) : byte
that not contains such an argument. How can I specify the image data I
want draw? How I use my drawable?
Thanks in advance,
Paco