[cairo] Printing of vector graphics?

Satz Klauer satzklauer at googlemail.com
Thu Jan 31 04:42:14 PST 2013


Just in case somebody else is looking for a similar solution:

http://people.gnome.org/~alexl/presentations/guadec2006-printing.pdf

contains all required information.

On Tue, Jan 29, 2013 at 9:02 AM, Satz Klauer <satzklauer at googlemail.com>wrote:

>
>
> On Mon, Jan 28, 2013 at 9:55 PM, Andrew Cowie <
> andrew at operationaldynamics.com> wrote:
>
>> On Mon, 2013-01-28 at 09:06 +0100, Satz Klauer wrote:
>>
>> > But: how can I send these data to a printer instead of drawing them
>> > onto some canvas?
>>
>> Or you can get into the GtkPrintOperation code if you're making a user
>> interface on Linux. You get a Cairo context to draw on there, the same
>> as other places in GTK.
>>
>> http://developer.gnome.org/gtk3/3.6/gtk3-High-level-Printing-API.html#GtkPrintOperation-draw-page
>>
>>
> This is exactly what I'm looking for. Unfortunately I'm not very familar
> with GTK...so is there a small HOWTO/example code available somewhere that
> demonstrates how to start printing/invoke this draw_page-function?
>
> Thanks!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130131/05ecd27b/attachment.html>


More information about the cairo mailing list