[cairo] [PATCH] [Cairomm] Allow creation of SVG/PDF/PS surfaces without specifing a file name

Patrick Niklaus patrick.niklaus at student.kit.edu
Sun Jan 20 09:22:50 PST 2013


Hey,

cairomm currently does not allow to create PngSurface, SvgSurface and
PsSurface without specifying a file name or a write function. However
the cairo API allows this by passing NULL as file name. [1]

This is a simple patch to add this functionality to cairomm.

Regards,
Patrick

[1] http://www.cairographics.org/manual/cairo-SVG-Surfaces.html#cairo-svg-surface-create
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-creation-of-SVG-PS-PDF-surfaces-without-a-file.patch
Type: application/octet-stream
Size: 4514 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130120/5cdf7bae/attachment.obj>


More information about the cairo mailing list