[cairo] Printing of vector graphics?
andrew at operationaldynamics.com
Mon Jan 28 12:55:14 PST 2013
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?
One way to do it is to draw to a PDF surface, then open the .pdf in
Evince and hit Ctrl+P.
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.
More information about the cairo