aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/context2d/qquickcontext2d_p.h
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2012-02-13 10:43:51 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-13 10:27:31 +0100
commitab84713eb211fdcc2fc63be6860498d4b4186d11 (patch)
tree587a47368c7944175fa55e5da8254b755390c657 /src/quick/items/context2d/qquickcontext2d_p.h
parentc0100e28cadf8260769eddcc7a0306d832fed92b (diff)
Remove non-standard canvas filter/mirror functions
They are not standard context 2d APIs, and now the same effects can be implemented by the ShaderEffect/QtGraphicEffects as well, so remove them from canvas 2d to reduce the duplicated features. Change-Id: If77ea6794e839a59927a313702aeea2282384844 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/quick/items/context2d/qquickcontext2d_p.h')
-rw-r--r--src/quick/items/context2d/qquickcontext2d_p.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/quick/items/context2d/qquickcontext2d_p.h b/src/quick/items/context2d/qquickcontext2d_p.h
index 6a9c76da57..3cabb6b198 100644
--- a/src/quick/items/context2d/qquickcontext2d_p.h
+++ b/src/quick/items/context2d/qquickcontext2d_p.h
@@ -55,7 +55,7 @@
-#define QQUICKCONTEXT2D_DEBUG //enable this for just DEBUG purpose!
+//#define QQUICKCONTEXT2D_DEBUG //enable this for just DEBUG purpose!
#ifdef QQUICKCONTEXT2D_DEBUG
#include <QElapsedTimer>
@@ -115,17 +115,6 @@ public:
GetImageData
};
- enum ImageFilterMode {
- Threshold,
- Mono,
- GrayScale,
- Brightness,
- Invert,
- Blur,
- Opaque,
- Convolute
- };
-
struct State {
State()
: strokeStyle(QColor("#000000"))