[cairo] Limitation of recording surface

Petr Kobalíček kobalicek.petr at gmail.com
Mon Feb 9 14:07:18 PST 2015


Isn't CLEAR just like SRC having all components zero?

Best regards
Petr Kobalicek

On Mon, Feb 9, 2015 at 10:23 PM, Adrian Johnson <ajohnson at redneon.com>
wrote:

> On 10/02/15 03:09, Bernhard R. Fischer wrote:
> > I solved the problem.
> > What I did was to cut out holes of a polygon in a group by using
> > CAIRO_OPERATOR_CLEAR and then painted the group to the PDF surface
> > (pop_group_to_source(), paint()).
> >
> > Although this works fine with image surfaces it seems that this
> operation is
> > not supported (or not implemented correctly) in the PDF backend as well
> as in
> > the SVG backend.
>
> CAIRO_OPERATOR_CLEAR is not supported by pdf so is implemented using
> fallback images.
>
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150209/ef1d835f/attachment.html>


More information about the cairo mailing list