diff options
Diffstat (limited to 'tdegtk/tqtcairopainter.h')
-rw-r--r-- | tdegtk/tqtcairopainter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdegtk/tqtcairopainter.h b/tdegtk/tqtcairopainter.h index 20a03d3..67ccd79 100644 --- a/tdegtk/tqtcairopainter.h +++ b/tdegtk/tqtcairopainter.h @@ -40,7 +40,7 @@ typedef TQPtrStack<TQWMatrix> TQWMatrixStack; class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class { public: - TQt3CairoPaintDevice( cairo_surface_t *, int width = -1, int height = -1, cairo_t *overridepainter = NULL ); + TQt3CairoPaintDevice( cairo_surface_t *, int x = 0, int y = 0, int width = -1, int height = -1, cairo_t *overridepainter = NULL ); ~TQt3CairoPaintDevice(); protected: @@ -75,6 +75,8 @@ class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class private: mutable int m_width; mutable int m_height; + mutable int m_offsetX; + mutable int m_offsetY; cairo_surface_t *m_surface; cairo_surface_t *m_intermediateSurface; |