From e9fa6f1ca5a2fcb793d1a0f0d50c87be200b6f9a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 17 Sep 2012 15:07:23 -0500 Subject: Add preliminary font layout support Add image painting support --- tdegtk/tqtcairopainter.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tdegtk/tqtcairopainter.h') 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 -- cgit v1.2.3