summaryrefslogtreecommitdiffstats
path: root/tdegtk/tqtcairopainter.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-09-17 15:20:04 -0500
committerTimothy Pearson <[email protected]>2012-09-17 15:20:04 -0500
commit5fa60a7abaa72ba95b90a4587476b940e764d889 (patch)
tree3182494ebc8885e168822219f1a9a803de7faf4a /tdegtk/tqtcairopainter.h
parente9fa6f1ca5a2fcb793d1a0f0d50c87be200b6f9a (diff)
downloadgtk3-tqt-engine-5fa60a7abaa72ba95b90a4587476b940e764d889.tar.gz
gtk3-tqt-engine-5fa60a7abaa72ba95b90a4587476b940e764d889.zip
Add world matrix stack
Diffstat (limited to 'tdegtk/tqtcairopainter.h')
-rw-r--r--tdegtk/tqtcairopainter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tdegtk/tqtcairopainter.h b/tdegtk/tqtcairopainter.h
index 9332128..d04e9a4 100644
--- a/tdegtk/tqtcairopainter.h
+++ b/tdegtk/tqtcairopainter.h
@@ -29,11 +29,14 @@
#include "ntqbrush.h"
#include "ntqfont.h"
#include "ntqimage.h"
+#include "ntqptrstack.h"
#include "ntqpainter.h"
#include <cairo.h>
#include <pango/pangocairo.h>
+typedef TQPtrStack<TQWMatrix> TQWMatrixStack;
+
class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
{
public:
@@ -85,6 +88,8 @@ class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
TQFont m_font;
TQImage m_clipRegion;
bool m_clipRegionEnabled;
+
+ TQWMatrixStack m_worldMatrixStack;
};
#endif // TDEQT4PAINTER_H