How to print gnome_canvas with libgnomeprint?



Hello,

I want to print the contents of a gnome_canvas including the pixmap
using libgnomeprint. 

I have the RBG_data in gnome->bilddata and this works fine with the image:

gnome_print_beginpage (gpc, "1");
gnome_print_translate (gpc, 25, 150);
gnome_print_gsave (gpc);
gnome_print_scale (gpc, 550,550);
gnome_print_rgbimage (gpc, gnome->bilddata, view_data->x,view_data->y,view_data->x*3);

now I wnat to print the overlaying GnomeCanvasItems

How can I do this?

Thank you very much.

Ralf Müller

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]