You can't apply a blur using only cairo. If you want to change the background, paint it first, and then paint the icon. If you want to highlight it, use CAIRO_OPERATOR_OVERLAY and paint a white rectangle with a low alpha.
On Sat, Mar 31, 2012 at 8:53 AM, Lanoxx <lan...@gmx.net> wrote: > Hi, > > given cairo type cr which contains an icon. How can I produce some kind of > highlighting on this icon. For example light it up a little and change the > background (the parts which are transparent) to a different color (e.g > white), or even using a light white blur as background. > > Im sure it only requires a few calls to cairo but as I am not very familiar > with cairo maybe someone can give me a suggestion. > > Best Regarads > Lanoxx > _______________________________________________ > desktop-devel-list mailing list > desktop-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/desktop-devel-list -- Jasper _______________________________________________ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list