diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-05 05:10:59 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-05 05:39:29 (GMT) |
commit | 3909d97e86d62fd94e149925b5f3111c8f391334 (patch) | |
tree | 748a1db0fde9f07136da835c141be7e0cdb5ec29 /src/openvg/qpixmapfilter_vg_p.h | |
parent | 7b19bfec4c496f2112b363cbdc8a0c302a48cfce (diff) | |
download | Qt-3909d97e86d62fd94e149925b5f3111c8f391334.zip Qt-3909d97e86d62fd94e149925b5f3111c8f391334.tar.gz Qt-3909d97e86d62fd94e149925b5f3111c8f391334.tar.bz2 |
Make it possible to implement engine-specific drop shadow filters
It wasn't possible for the paint engine to override the drop
shadow filter because QPixmapDropShadowFilter::draw() was not
asking for an engine-specific filter object.
Also, change the OpenVG filter to use vgGaussianBlur() instead of
vgConvolve(), and draw the original image on top of the shadow.
Task-number: QTBUG-4583
Reviewed-by: trustme
Diffstat (limited to 'src/openvg/qpixmapfilter_vg_p.h')
-rw-r--r-- | src/openvg/qpixmapfilter_vg_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/openvg/qpixmapfilter_vg_p.h b/src/openvg/qpixmapfilter_vg_p.h index 8bd4f7e..58111ec 100644 --- a/src/openvg/qpixmapfilter_vg_p.h +++ b/src/openvg/qpixmapfilter_vg_p.h @@ -98,10 +98,7 @@ public: private: mutable VGfloat matrix[5][4]; mutable QColor prevColor; - mutable qreal prevRadius; - mutable int kernelSize; mutable bool firstTime; - mutable QVarLengthArray<VGshort, 16> kernel; }; class Q_OPENVG_EXPORT QVGPixmapBlurFilter : public QPixmapBlurFilter |