Il 19/02/2013 10:07, Gerd Hoffmann ha scritto:
>> > + if (s->surface) {
>> > + cairo_surface_destroy(s->surface);
>> > + }
> Isn't cairo backed by pixman under the hood?Yes, but there is no API to construct a cairo surface from a pixman image. Paolo > I suspect you should be able to simply pass the pixman image > (ds->surface->image) directly to cairo for rendering, thereby making > this function alot simpler.
