[cairo] composites circle
Alex Vazquez
avazquez.dev at gmail.com
Sat Jan 16 14:55:52 PST 2016
Fine. I can replicate the effect without the black background, but if i
draw the background i can't replicate the effect.
I do the next (No work fine):
1-Create a cairo_t paint the background and destroy this cairo_t
2-Create a new cairo_t and create the effect and destroy this cairo_t
Why if i create a new cairo_t the effect fail?
Code:
http://pasted.co/634b16c6
Regards!!
2016-01-13 21:59 GMT+01:00 Lawrence D'Oliveiro <ldo at geek-central.gen.nz>:
> On Wed, 13 Jan 2016 10:52:37 +0100, Alex Vazquez wrote:
>
> > I am trying replicate the next effect with cairo
> > http://postimg.org/image/ieohdu29t/
>
> That looks like 50% transparency between the circles, but opaque with
> respect to the background.
>
> This has to be done in two stages, rather like
> <http://default-cube.deviantart.com/art/Figure-Alpha-548702174>.
> --
> 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/20160116/dac8a1ba/attachment.html>
More information about the cairo
mailing list