Re: Cairo / Highlighting
- From: Lanoxx <lanoxx gmx net>
- To: desktop-devel-list gnome org
- Subject: Re: Cairo / Highlighting
- Date: Tue, 17 Apr 2012 09:55:35 +0200
On 16/04/12 00:40, Ray Strode wrote:
Hey,
On Sat, Mar 31, 2012 at 8:28 AM, Sebastian Geiger<sbastig 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.
I'm a little late to reply here, but checkout the link labeled
"How to:Perform a Gaussian blur on an image surface" from here:
http://cairographics.org/cookbook/
also this is a good resource, in general:
http://cairographics.org/samples/
--Ray
Thank you. I will take a look.
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]