Mercurial > projects > qtd
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:ee8e70aca95e | 3:323efbe5c2f7 |
---|---|
1049 } | 1049 } |
1050 | 1050 |
1051 public final void drawConvexPolygon(QPointF[] points) { | 1051 public final void drawConvexPolygon(QPointF[] points) { |
1052 qtd_QPainter_drawConvexPolygon_nativepointerQPointF_int(nativeId, points.ptr, points.length); | 1052 qtd_QPainter_drawConvexPolygon_nativepointerQPointF_int(nativeId, points.ptr, points.length); |
1053 } | 1053 } |
1054 | |
1055 public final void drawLines(QLine[] lines) { | |
1056 qtd_QPainter_drawLines_nativepointerQLine_int(nativeId, lines.ptr, lines.length); | |
1057 } | |
1058 | |
1059 public final void drawLines(QLineF[] lines) { | |
1060 qtd_QPainter_drawLines_nativepointerQLineF_int(nativeId, lines.ptr, lines.length); | |
1061 } | |
1062 | |
1063 public final void drawPolygon(QPoint[] points, Qt_FillRule fillRule = Qt_FillRule.OddEvenFill) { | |
1064 qtd_QPainter_drawPolygon_nativepointerQPoint_int_FillRule(nativeId, points.ptr, points.length, fillRule); | |
1065 } | |
1066 | |
1067 public final void drawPolygon(QPointF[] points, Qt_FillRule fillRule = Qt_FillRule.OddEvenFill) { | |
1068 qtd_QPainter_drawPolygon_nativepointerQPointF_int_FillRule(nativeId, points.ptr, points.length, fillRule); | |
1069 } | |
1070 | |
1071 public final void drawPolyline(QPoint[] points) { | |
1072 qtd_QPainter_drawPolyline_nativepointerQPoint_int(nativeId, points.ptr, points.length); | |
1073 } | |
1074 | |
1075 public final void drawPolyline(QPointF[] points) { | |
1076 qtd_QPainter_drawPolyline_nativepointerQPointF_int(nativeId, points.ptr, points.length); | |
1077 } | |
1078 | |
1079 public final void drawPoints(QPoint[] points) { | |
1080 qtd_QPainter_drawPoints_nativepointerQPoint_int(nativeId, points.ptr, points.length); | |
1081 } | |
1082 | |
1083 public final void drawPoints(QPointF[] points) { | |
1084 qtd_QPainter_drawPoints_nativepointerQPointF_int(nativeId, points.ptr, points.length); | |
1085 } | |
1086 | |
1054 /* | 1087 /* |
1055 public static QPaintDeviceInterface redirected(QPaintDeviceInterface device, qt.core.QPoint offset) { | 1088 public static QPaintDeviceInterface redirected(QPaintDeviceInterface device, qt.core.QPoint offset) { |
1056 return redirected(device, offset == null ? null : offset.nativePointer()); | 1089 return redirected(device, offset == null ? null : offset.nativePointer()); |
1057 } | 1090 } |
1058 | 1091 |