diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-16 15:32:39 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-16 15:32:39 -0500 |
commit | 7d1ad9f6f50c3ba3829b14c0eb9a52836b8d7d5d (patch) | |
tree | 784d3ea1add0f296cfeeaf1e04b692a9b1f689cb /tdegtk/tqtcairopainter.h | |
parent | 2e57d2cf81ee9f642a59bd20712f80fa9b13ee08 (diff) | |
download | gtk3-tqt-engine-7d1ad9f6f50c3ba3829b14c0eb9a52836b8d7d5d.tar.gz gtk3-tqt-engine-7d1ad9f6f50c3ba3829b14c0eb9a52836b8d7d5d.zip |
Add more primitives to Cairo drawing backend
Diffstat (limited to 'tdegtk/tqtcairopainter.h')
-rw-r--r-- | tdegtk/tqtcairopainter.h | 11 |
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; |