Re: Add Gaussian Blur to Shape Shadow

Ariya Hidayat <[email protected]>
Newsgroups gmane.comp.kde.devel.koffice
Message-ID <[email protected]>
>> Is there a simple method to blur a QPixmap object? I only found
>> QGraphicsBlurEffect but it only works on QGraphicsItem.
>>
>
> There is a class BlurEffect in Karbon that can do this with a QImage. It
> would probably be possible to use the filter framework to do a blurred
> shadow.

Which is using stack blur.

Try my attempt, see
http://ariya.blogspot.com/2010/09/art-of-blurring-shadow.html, which
is slightly faster. The shadow blur function is only 70 lines.


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.