[cairo] applying alpha to a pattern

Theo Veenker T.J.G.Veenker at uu.nl
Fri Apr 16 06:46:49 PDT 2010

Benjamin Otte wrote:
> Hey,
> Currently you would use something like:
> cairo_push_group (cr);
> /* draw pattern */
> cairo_pop_group_to_source (cr);
> cairo_paint_with_alpha (cr, alpha);

I'll do this and see if it's fast enough for my purpose.

> There has been talk about adding a global alpha parameter to cairo_t,
> but it's not been implemented yet.

I hope this gets added at some point in the future.



More information about the cairo mailing list