[cairo] shadow around a rectangle
Gerdus van Zyl
gerdusvanzyl at gmail.com
Fri Nov 30 04:23:36 PST 2007
Not possible since cairo lacks a working blur filter currently. You
can however fake it by drawing consecutively smaller rectangles in the
color of choice with varying opacity by using paint_with_alpha or
using a gradient that fades out.
On Nov 30, 2007 9:14 AM, zaheer ahmad <zaheer.mot at gmail.com> wrote:
> i would like to draw a shadow around a rectangle using cairo. any inputs on
> how this could be done.
> cairo mailing list
> cairo at cairographics.org
More information about the cairo