[cairo] How can I draw this? (without blur hopefully)

Andrea Cimitan andrea.cimitan at gmail.com
Wed Jun 2 03:50:54 PDT 2010


They used illustrator and glow effect :D

2010/6/2 Benjamin Otte <otte at redhat.com>:
> I'd probably try to solve this with either constructing a suitable mask
> and using cairo_mask() or by drawing it in multiple passes with
> appropriate clipping.
>
> You could just look at how the image was drawn originally to get
> inspiration, like look at the SVG - unless someone did it pixel-wise in
> the GIMP. Then tell them to use Inkscape next time ;)
>
> Benjamin
>
>
> On Wed, 2010-06-02 at 11:42 +0200, Andrea Cimitan wrote:
>> As you can see in the first button1 button, the dark gradient seems to
>> stop before reaching the left and right edges of the button itself,
>> likeif there was a blur or a glow outside it.
>> I would like to draw that style with cairo, though I don't know if
>> there's a real way to do it :)
>> Any help? :)
>> --
>> cairo mailing list
>> cairo at cairographics.org
>> http://lists.cairographics.org/mailman/listinfo/cairo
>
>
>



-- 
Andrea Cimitan - http://www.cimitan.com


More information about the cairo mailing list