summaryrefslogtreecommitdiffstats
path: root/tdegtk/tqtcairopainter.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-09-17 15:07:23 -0500
committerTimothy Pearson <[email protected]>2012-09-17 15:07:23 -0500
commite9fa6f1ca5a2fcb793d1a0f0d50c87be200b6f9a (patch)
treefe5734f46ccb3e39aeed63ac824521394d64e69f /tdegtk/tqtcairopainter.h
parentb646ed4c554e54e5354edc3dfdfc76edbb7656f0 (diff)
downloadgtk3-tqt-engine-e9fa6f1ca5a2fcb793d1a0f0d50c87be200b6f9a.tar.gz
gtk3-tqt-engine-e9fa6f1ca5a2fcb793d1a0f0d50c87be200b6f9a.zip
Add preliminary font layout support
Add image painting support
Diffstat (limited to 'tdegtk/tqtcairopainter.h')
-rw-r--r--tdegtk/tqtcairopainter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdegtk/tqtcairopainter.h b/tdegtk/tqtcairopainter.h
index ef3dbac..9332128 100644
--- a/tdegtk/tqtcairopainter.h
+++ b/tdegtk/tqtcairopainter.h
@@ -62,7 +62,8 @@ class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
void drawChord(int x, int y, int w, int h, int a, int alen);
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 drawText(TQPainter *p, int x, int y, const TQString &str);
+ void drawTextInRect(TQPainter *p, TQRect rect, int textFlags, const TQString &str);
void setCairoTransformations();
@@ -83,6 +84,7 @@ class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
TQPoint m_brushOrigin;
TQFont m_font;
TQImage m_clipRegion;
+ bool m_clipRegionEnabled;
};
#endif // TDEQT4PAINTER_H