Re: composites circle
Alex Vazquez <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAOTEMUQcJzyE2kVH3ZvpEOJyvwXhk-DJ3=wKUoZtAb-0WSbUGA@mail.gmail.com> |
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 <[email protected]>: > 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 > [email protected] > http://lists.cairographics.org/mailman/listinfo/cairo -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo