Hi,<br><div class="gmail_quote"><br>You can use inkscape to draw a picture like it. Then you can use either use rsvg to draw the buttons to a Cairo surface or write code to draw it. The capabilities of Inkscape are very similar to those of Cairo.<br>

<br>Groeten, Arjen<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jun 2, 2010 at 11:42 AM, Andrea Cimitan <span dir="ltr">&lt;<a href="mailto:andrea.cimitan@gmail.com" target="_blank">andrea.cimitan@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
As you can see in the first button1 button, the dark gradient seems to<br>
stop before reaching the left and right edges of the button itself,<br>
likeif there was a blur or a glow outside it.<br>
I would like to draw that style with cairo, though I don&#39;t know if<br>
there&#39;s a real way to do it :)<br>
Any help? :)<br>
<font color="#888888">--<br>
Andrea Cimitan - <a href="http://www.cimitan.com" target="_blank">http://www.cimitan.com</a><br>
</font><br></div></div><div class="im">--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org" target="_blank">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></div></blockquote></div><br>
</div><br>