Mercurial > projects > qtd
diff generator/typesystem_gui-java.java @ 3:323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
author | eldar |
---|---|
date | Wed, 13 May 2009 17:34:40 +0000 |
parents | e78566595089 |
children | 374a61671448 |
line wrap: on
line diff
--- a/generator/typesystem_gui-java.java Wed May 13 01:20:34 2009 +0000 +++ b/generator/typesystem_gui-java.java Wed May 13 17:34:40 2009 +0000 @@ -1051,6 +1051,39 @@ public final void drawConvexPolygon(QPointF[] points) { qtd_QPainter_drawConvexPolygon_nativepointerQPointF_int(nativeId, points.ptr, points.length); } + + public final void drawLines(QLine[] lines) { + qtd_QPainter_drawLines_nativepointerQLine_int(nativeId, lines.ptr, lines.length); + } + + public final void drawLines(QLineF[] lines) { + qtd_QPainter_drawLines_nativepointerQLineF_int(nativeId, lines.ptr, lines.length); + } + + public final void drawPolygon(QPoint[] points, Qt_FillRule fillRule = Qt_FillRule.OddEvenFill) { + qtd_QPainter_drawPolygon_nativepointerQPoint_int_FillRule(nativeId, points.ptr, points.length, fillRule); + } + + public final void drawPolygon(QPointF[] points, Qt_FillRule fillRule = Qt_FillRule.OddEvenFill) { + qtd_QPainter_drawPolygon_nativepointerQPointF_int_FillRule(nativeId, points.ptr, points.length, fillRule); + } + + public final void drawPolyline(QPoint[] points) { + qtd_QPainter_drawPolyline_nativepointerQPoint_int(nativeId, points.ptr, points.length); + } + + public final void drawPolyline(QPointF[] points) { + qtd_QPainter_drawPolyline_nativepointerQPointF_int(nativeId, points.ptr, points.length); + } + + public final void drawPoints(QPoint[] points) { + qtd_QPainter_drawPoints_nativepointerQPoint_int(nativeId, points.ptr, points.length); + } + + public final void drawPoints(QPointF[] points) { + qtd_QPainter_drawPoints_nativepointerQPointF_int(nativeId, points.ptr, points.length); + } + /* public static QPaintDeviceInterface redirected(QPaintDeviceInterface device, qt.core.QPoint offset) { return redirected(device, offset == null ? null : offset.nativePointer());