summaryrefslogtreecommitdiffstats
path: root/tdegtk/tqtcairopainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdegtk/tqtcairopainter.h')
-rw-r--r--tdegtk/tqtcairopainter.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/tdegtk/tqtcairopainter.h b/tdegtk/tqtcairopainter.h
index fa051c2..7e43468 100644
--- a/tdegtk/tqtcairopainter.h
+++ b/tdegtk/tqtcairopainter.h
@@ -44,8 +44,15 @@ class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
void updatePen(bool backgroundStroke=FALSE);
void dualStrokePen();
- void updateBrush(bool backgroundStroke=FALSE);
- void dualStrokeBrush();
+ void updateBrush(bool backgroundStroke=FALSE, cairo_fill_rule_t fillMethod=CAIRO_FILL_RULE_WINDING);
+ void dualStrokeBrush(cairo_fill_rule_t fillMethod=CAIRO_FILL_RULE_WINDING);
+
+ void drawPolygon(const TQPointArray* pointarray, bool winding, bool fill, bool close);
+ void drawRoundRect(int x, int y, int w, int h, int xRnd, int yRnd);
+ void drawEllipse(int x, int y, int w, int h);
+ void drawArc(int x, int y, int w, int h, int a, int alen);
+ void drawPie(int x, int y, int w, int h, int a, int alen);
+ void drawChord(int x, int y, int w, int h, int a, int alen);
private:
cairo_surface_t *m_surface;