From koffice-devel Sun Oct 31 16:05:31 2010 From: Ariya Hidayat Date: Sun, 31 Oct 2010 16:05:31 +0000 To: koffice-devel Subject: Re: Add Gaussian Blur to Shape Shadow Message-Id: X-MARC-Message: https://marc.info/?l=koffice-devel&m=128854116015911 >> 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