From gtk-devel Fri Jan 27 17:14:10 2006 From: Bill Haneman Date: Fri, 27 Jan 2006 17:14:10 +0000 To: gtk-devel Subject: Re: Highlevel printing API - proposal Message-Id: <43DA54E2.9030907 () sun ! com> X-MARC-Message: https://marc.info/?l=gtk-devel&m=113838365922669 This looks great, but I don't see anything in the print context relating to the use of "themed" rendering. Should it be somewhere other than the print context? Something like this: gboolean egg_print_context_get_override_document_colors () GdkColor egg_print_context_get_text_foreground () GdkColor egg_print_context_get_text_background () GdkColor egg_print_content_get_line_art_foreground () (Not sure about the data types for the color stuff) Perhaps instead of text_foreground etc. it should be "...get_paper_color()" and "get_ink_color()". Bill > ... > > >Here is a new version: >http://people.redhat.com/alexl/print/libeggprint-0.0.1.tar.gz > >Changes in this include: >* better handling of units >* some renaming >* changes to the signal prototypes to make them more sane. > They now all get passed a PrintContext object that you can get all > the info you need to render from. >* Helper functions for integration with pango that makes it easy to > get correct text drawing. > >Check out the example code output: >http://people.redhat.com/alexl/print/test2.pdf > >It prints itself! > _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list