summaryrefslogtreecommitdiffstats
path: root/tdegtk/tqtcairopainter.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-09-17 11:49:39 -0500
committerTimothy Pearson <[email protected]>2012-09-17 11:49:39 -0500
commitb6cb4612ca9c615323c0540a3b05edc24feec642 (patch)
tree7c14ed41a50285e015d351a8b2029aba9d6e7f4b /tdegtk/tqtcairopainter.h
parent52cddfb3039519e7745e770b5198ff43cb9d195f (diff)
downloadgtk3-tqt-engine-b6cb4612ca9c615323c0540a3b05edc24feec642.tar.gz
gtk3-tqt-engine-b6cb4612ca9c615323c0540a3b05edc24feec642.zip
Add transformation support
Diffstat (limited to 'tdegtk/tqtcairopainter.h')
-rw-r--r--tdegtk/tqtcairopainter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tdegtk/tqtcairopainter.h b/tdegtk/tqtcairopainter.h
index 99a3dc2..9700b63 100644
--- a/tdegtk/tqtcairopainter.h
+++ b/tdegtk/tqtcairopainter.h
@@ -59,10 +59,16 @@ class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
void pangoSetupTextPath(PangoLayout *layout, const char* text);
void drawText(TQPainter *p, int x, int y, const TQString &str, int pos, int len, TQPainter::TextDirection dir, bool baseline=TRUE);
+
+ void setCairoTransformations();
private:
cairo_surface_t *m_surface;
cairo_t *m_painter;
+ cairo_matrix_t m_worldMatrix;
+ cairo_matrix_t m_viewportMatrix;
+ bool m_worldMatrixEnabled;
+ bool m_viewportMatrixEnabled;
TQColor m_bgColor;
TQt::BGMode m_bgColorMode;