Re: Cairo / Highlighting



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]