summaryrefslogtreecommitdiffstats
path: root/src/openvg/qpixmapfilter_vg_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-05 05:10:59 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-05 05:39:29 (GMT)
commit3909d97e86d62fd94e149925b5f3111c8f391334 (patch)
tree748a1db0fde9f07136da835c141be7e0cdb5ec29 /src/openvg/qpixmapfilter_vg_p.h
parent7b19bfec4c496f2112b363cbdc8a0c302a48cfce (diff)
downloadQt-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.h3
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