Re: Highlevel printing API - proposal



On Wed, 2006-01-25 at 19:32 +0100, Alexander Larsson wrote:

> Attached is a example implementation of the API ideas. Look at
> testprint.c and testprintfileoperation.c to see how it is used.

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!

(The other output is at http://people.redhat.com/alexl/print/test.pdf)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an otherworldly chivalrous hairdresser in drag. She's a pregnant 
impetuous pearl diver with a song in her heart and a spring in her step. They 
fight crime! 




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