summaryrefslogtreecommitdiff
path: root/src/openvg/qpaintengine_vg.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-16 12:22:10 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-16 12:22:10 +1000
commit46616a79db9ab11ce726243f12615a478a4c368a (patch)
treeda34c4779052039ccc478d670170ff83196817c2 /src/openvg/qpaintengine_vg.cpp
parentd9ed45eaaf0e8bacfa0f4569f226655057b614eb (diff)
downloadqt4-tools-46616a79db9ab11ce726243f12615a478a4c368a.tar.gz
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 e0c99d7d2a..fdd61ea812 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();