[cairo] Fill not overlapping stroke?

David Trallero ditiem at gmail.com
Thu Jun 3 05:06:09 PDT 2010


> I'll try the intermediate surface next - I wonder if theres a performance hit though ?

I may be wrong, but I would say that the push_group and pop_group
creates an "intermediate surface,"
or at least, it behaves like that.

>            cairo_ctx.pop_group_to_source()
>            cairo_ctx.set_operator(cairo.OPERATOR_DEST_OVER)
>            cairo_ctx.paint()

I do not know if you are painting from back to front or front to back.
If it is the first case I would
say you want to use

   cairo_ctx.set_operator(cairo.OPERATOR_OVER)

instead.


More information about the cairo mailing list