[Gtk-sharp-list] Gnome.Print
Mike Kestner
mkestner@ximian.com
Wed, 07 Apr 2004 17:44:04 -0500
On Mon, 2004-04-05 at 08:36, Larry Ewing wrote:
> I forgot to attach the new file, here it is.
In custom code, don't feel the need to emulate the generator quite so
much. :-) For example, you can just:
if (image.NChannels == 4)
return gnome_print_rgbaimage(pc.Handle, image.Pixels,
image.Width, image.Height, image.Rowstride);
The generator goes through all that raw_ret crap because often it has to
wrap the raw value returned with a wrapper class.
Feel free to commit with that change.
Thanks for the patch.
--
Mike Kestner <mkestner@ximian.com>