diff options
author | Andy Shaw <andy.shaw@digia.com> | 2012-09-13 17:56:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-27 06:07:15 +0200 |
commit | ae0ddb8c729c105a5b4f32a4f6765af8fe546333 (patch) | |
tree | 90ce3d69dde5a6efc03eba9eaaf47234905d5853 /src/gui/painting/qpainter.h | |
parent | 12e5464fa322735560613a43aa9b589fb69b79c8 (diff) |
Implement the missing raster operations that were in Qt 3
Although not widely used, the raster operations from Qt 3 were useful
and some of them were already implemented, this brings the rest of them
back for those who need them.
Change-Id: Id538611eaaba9be3d39bf2dd33b6c532f5d4aba8
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui/painting/qpainter.h')
-rw-r--r-- | src/gui/painting/qpainter.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.h b/src/gui/painting/qpainter.h index 47ffc8d778..c6c0e39ba0 100644 --- a/src/gui/painting/qpainter.h +++ b/src/gui/painting/qpainter.h @@ -171,7 +171,12 @@ public: RasterOp_NotSourceXorDestination, RasterOp_NotSource, RasterOp_NotSourceAndDestination, - RasterOp_SourceAndNotDestination + RasterOp_SourceAndNotDestination, + RasterOp_NotSourceOrDestination, + RasterOp_SourceOrNotDestination, + RasterOp_ClearDestination, + RasterOp_SetDestination, + RasterOp_NotDestination }; void setCompositionMode(CompositionMode mode); CompositionMode compositionMode() const; |