[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Add Gaussian Blur to Shape Shadow
From: Ariya Hidayat <ariya () kde ! org>
Date: 2010-10-31 16:05:31
Message-ID: AANLkTim7Tc3P6EV0k_5h5xd_7aHZARHyU=4rOF+0ky91 () mail ! gmail ! com
[Download RAW message or body]
>> 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
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic