Re: Source Code for Gnome_ptint_rgbimage



John J. Boyer a écrit:

Chema,

When I looked at the source code for gnome_print_rgbimage I found that it was a wrapper for a call to gnome_print_transform . So where do I find the source code for this routine?
Thanks,
John
On 27 Jan 2003, Chema Celorio wrote:

On Mon, 2003-01-27 at 10:58, John J. Boyer wrote:
Hello,

gnome-print.h has a prototype for gnome_print_rgbimage in both libgnomeprint and libgnomeprintui, but gnome-print.c does not contain the source code. I would like to study the source code for a programming project. Where can I find it?
gnome-print-stdapi.c:gnome_print_rgbimage which calls gnome_print_image
transform that backends implement.

Chema
gnome_print_image_transform is in gnome-print.c. It just calls the image method implemented by the backends. See for example gnome_print_ps2_image which prints the image to PostScript (the code is in gnome-print-ps2.c). For preview the function is gpp_image in gnome-print-preview.c in libgnomeprintui.

Regards,
Jean





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