diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-16 02:22:10 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-16 02:22:10 (GMT) |
commit | 46616a79db9ab11ce726243f12615a478a4c368a (patch) | |
tree | da34c4779052039ccc478d670170ff83196817c2 /src/openvg/qpaintengine_vg.cpp | |
parent | d9ed45eaaf0e8bacfa0f4569f226655057b614eb (diff) | |
download | Qt-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.cpp | 3 |
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(); |