summaryrefslogtreecommitdiffstats
path: root/src/openvg/qpaintengine_vg.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-16 02:22:10 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-16 02:22:10 (GMT)
commit46616a79db9ab11ce726243f12615a478a4c368a (patch)
treeda34c4779052039ccc478d670170ff83196817c2 /src/openvg/qpaintengine_vg.cpp
parentd9ed45eaaf0e8bacfa0f4569f226655057b614eb (diff)
downloadQt-46616a79db9ab11ce726243f12615a478a4c368a.zip
Qt-46616a79db9ab11ce726243f12615a478a4c368a.tar.gz
Qt-46616a79db9ab11ce726243f12615a478a4c368a.tar.bz2
Implement the strength parameter for OpenVG colorize filters
Task-number: QT-2016 Reviewed-by: trustme
Diffstat (limited to 'src/openvg/qpaintengine_vg.cpp')
-rw-r--r--src/openvg/qpaintengine_vg.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp
index e0c99d7..fdd61ea 100644
--- a/src/openvg/qpaintengine_vg.cpp
+++ b/src/openvg/qpaintengine_vg.cpp
@@ -3328,9 +3328,6 @@ QPixmapFilter *QVGPaintEngine::pixmapFilter(int type, const QPixmapFilter *proto
d->convolutionFilter.reset(new QVGPixmapConvolutionFilter);
return d->convolutionFilter.data();
case QPixmapFilter::ColorizeFilter:
- // Strength parameter does not work with current implementation.
- if ((static_cast<const QPixmapColorizeFilter *>(prototype))->strength() != 1.0f)
- break;
if (!d->colorizeFilter)
d->colorizeFilter.reset(new QVGPixmapColorizeFilter);
return d->colorizeFilter.data();