[cairo] [API] Accept NULL for cairo_(pdf|ps|svg)_surface_create

Ian Britten britten at caris.com
Thu Oct 16 07:55:40 PDT 2008

Chris Wilson wrote:
> On Thu, 2008-10-16 at 11:14 -0300, Ian Britten wrote:
>> For example, I *think* Cairo would let me do something like:

[ snip ]

> Whilst you could use a dummy PDF (with a large size, as the current
> proposed change would allow), all you really want is the meta-surface.
> It just so happens that prior to cairo_surface_finish() the PDF is
> stored as and can be used as a meta-surface source. In short this would
> do what you want, but it would be better to actually export the
> meta-surface.

Interesting.  I'm not familiar with the Cairo internals, but I'll
certainly keep this in mind if/when I reach that point (I'm still
trying to get everything drawing first!  :P )

Thanks for the info!

More information about the cairo mailing list