[Gtk-sharp-list] Gdk.Pixbuf.Pixel problem
Sun, 14 Dec 2003 17:52:28 -0500
When I try to compile this:
Pixbuf p = new Pixbuf (Colorspace.Rgb, false, 24, 100, 100);
byte *pixels = p.Pixels;
I get the following error:
$ mcs --unsafe -r:gdk-sharp temp.cs
temp.cs(7) error CS0029: Cannot convert implicitly from `byte' to `byte*'
Compilation failed: 1 error(s), 0 warnings
I decompiled gdk-sharp.dll, and found that the return type of get_Pixels(),
as well as of the private gdk_pixbuf_get_pixels(), was an int8.
Is this correct?
Shop online for kidsí toys by age group, price range, and toy category at
MSN Shopping. No waiting for a clerk to help you! http://shopping.msn.com