[cairo] How should bindings deal with surfaces of unknown type?

Behdad Esfahbod behdad at behdad.org
Wed Jan 30 11:57:48 PST 2008

On Wed, 2008-01-30 at 14:54 -0500, Dominic Lachowicz wrote:
> Hi Behdad,
> On Jan 30, 2008 2:37 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
> [snip]
> > >   2) Make create_similar always return a public surface type.
> That is,
> > > PS/PDF/SVG for PS/PDF/SVG.  Then we really have to make sure all
> the
> [snip]
> > We should do 2 for 1.6.  Any takers?
> You'll have to ignore my ignorance for a moment. I thought that a
> major development in the 1.5 series was the fact that when painting
> "similar" surfaces, PS/PDF/SVG now embed native PS/PDF/SVG content via
> replaying the "similar" meta surface. And before, they'd embed a
> high-res image of the similar surface.
> If this is the case, I'd be wary about introducing any regressions
> around such a juicy feature, especially so close to a major release.

This is just about changing the return value of cairo_surface_get_type()
on a create_similar() surface of a PS/PDF/SVG surface.  No change in

> Cheers,
> Dom

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list