summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQPainter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQPainter.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQPainter.java247
1 files changed, 247 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPainter.java b/qtjava/javalib/org/trinitydesktop/qt/TQPainter.java
new file mode 100644
index 00000000..f609632f
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQPainter.java
@@ -0,0 +1,247 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+
+public class TQPainter extends Qt {
+ protected TQPainter(Class dummy){super((Class) null);}
+ public static final int IsActive = 0x01;
+ public static final int ExtDev = 0x02;
+ public static final int IsStartingUp = 0x04;
+ public static final int NoCache = 0x08;
+ public static final int VxF = 0x10;
+ public static final int WxF = 0x20;
+ public static final int ClipOn = 0x40;
+ public static final int SafePolygon = 0x80;
+ public static final int MonoDev = 0x100;
+ public static final int DirtyFont = 0x200;
+ public static final int DirtyPen = 0x400;
+ public static final int DirtyBrush = 0x800;
+ public static final int RGBColor = 0x1000;
+ public static final int FontMet = 0x2000;
+ public static final int FontInf = 0x4000;
+ public static final int CtorBegin = 0x8000;
+ public static final int UsePrivateCx = 0x10000;
+ public static final int VolatileDC = 0x20000;
+ public static final int Qt2Compat = 0x40000;
+
+ public static final int CoordDevice = 0;
+ public static final int CoordPainter = 1;
+
+ public static final int Auto = 0;
+ public static final int RTL = 1;
+ public static final int LTR = 2;
+
+ public TQPainter() {
+ super((Class) null);
+ newTQPainter();
+ }
+ private native void newTQPainter();
+ public TQPainter(TQPaintDeviceInterface arg1, boolean unclipped) {
+ super((Class) null);
+ newTQPainter(arg1,unclipped);
+ }
+ private native void newTQPainter(TQPaintDeviceInterface arg1, boolean unclipped);
+ public TQPainter(TQPaintDeviceInterface arg1) {
+ super((Class) null);
+ newTQPainter(arg1);
+ }
+ private native void newTQPainter(TQPaintDeviceInterface arg1);
+ public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped) {
+ super((Class) null);
+ newTQPainter(arg1,arg2,unclipped);
+ }
+ private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped);
+ public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2) {
+ super((Class) null);
+ newTQPainter(arg1,arg2);
+ }
+ private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2);
+ public native boolean begin(TQPaintDeviceInterface arg1, boolean unclipped);
+ public native boolean begin(TQPaintDeviceInterface arg1);
+ public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped);
+ public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2);
+ public native boolean end();
+ public native TQPaintDeviceInterface device();
+ public native boolean isActive();
+ public native void flush(TQRegion region, int cm);
+ public native void flush(TQRegion region);
+ public native void flush();
+ public native void save();
+ public native void restore();
+ public native TQFontMetrics fontMetrics();
+ public native TQFontInfo fontInfo();
+ public native TQFont font();
+ public native void setFont(TQFont arg1);
+ public native TQPen pen();
+ public native void setPen(TQPen arg1);
+ public native void setPen(int arg1);
+ public native void setPen(TQColor arg1);
+ public native TQBrush brush();
+ public native void setBrush(TQBrush arg1);
+ public native void setBrush(int arg1);
+ public native void setBrush(TQColor arg1);
+ public native TQPoint pos();
+ public native TQColor backgroundColor();
+ public native void setBackgroundColor(TQColor arg1);
+ public native int backgroundMode();
+ public native void setBackgroundMode(int arg1);
+ public native int rasterOp();
+ public native void setRasterOp(int arg1);
+ public native TQPoint brushOrigin();
+ public native void setBrushOrigin(int x, int y);
+ public native void setBrushOrigin(TQPoint arg1);
+ public native boolean hasViewXForm();
+ public native boolean hasWorldXForm();
+ public native void setViewXForm(boolean arg1);
+ public native TQRect window();
+ public native void setWindow(TQRect arg1);
+ public native void setWindow(int x, int y, int w, int h);
+ public native TQRect viewport();
+ public native void setViewport(TQRect arg1);
+ public native void setViewport(int x, int y, int w, int h);
+ public native void setWorldXForm(boolean arg1);
+ public native TQWMatrix worldMatrix();
+ public native void setWorldMatrix(TQWMatrix arg1, boolean combine);
+ public native void setWorldMatrix(TQWMatrix arg1);
+ public native void saveWorldMatrix();
+ public native void restoreWorldMatrix();
+ public native void scale(double sx, double sy);
+ public native void shear(double sh, double sv);
+ public native void rotate(double a);
+ public native void translate(double dx, double dy);
+ public native void resetXForm();
+ public native double translationX();
+ public native double translationY();
+ public native Object xForm(TQPoint arg1);
+ public native Object xForm(TQRect arg1);
+ public native Object xForm(TQPointArray arg1);
+ public native Object xForm(TQPointArray arg1, int index, int npoints);
+ public native TQPoint xFormDev(TQPoint arg1);
+ public native TQRect xFormDev(TQRect arg1);
+ public native TQPointArray xFormDev(TQPointArray arg1);
+ public native TQPointArray xFormDev(TQPointArray arg1, int index, int npoints);
+ public native void setClipping(boolean arg1);
+ public native boolean hasClipping();
+ public native TQRegion clipRegion(int arg1);
+ public native TQRegion clipRegion();
+ public native void setClipRect(TQRect arg1, int arg2);
+ public native void setClipRect(TQRect arg1);
+ public native void setClipRect(int x, int y, int w, int h, int arg5);
+ public native void setClipRect(int x, int y, int w, int h);
+ public native void setClipRegion(TQRegion arg1, int arg2);
+ public native void setClipRegion(TQRegion arg1);
+ public native void drawPoint(int x, int y);
+ public native void drawPoint(TQPoint arg1);
+ public native void drawPoints(TQPointArray a, int index, int npoints);
+ public native void drawPoints(TQPointArray a, int index);
+ public native void drawPoints(TQPointArray a);
+ public native void moveTo(int x, int y);
+ public native void moveTo(TQPoint arg1);
+ public native void lineTo(int x, int y);
+ public native void lineTo(TQPoint arg1);
+ public native void drawLine(int x1, int y1, int x2, int y2);
+ public native void drawLine(TQPoint arg1, TQPoint arg2);
+ public native void drawRect(int x, int y, int w, int h);
+ public native void drawRect(TQRect arg1);
+ public native void drawWinFocusRect(int x, int y, int w, int h);
+ public native void drawWinFocusRect(int x, int y, int w, int h, TQColor bgColor);
+ public native void drawWinFocusRect(TQRect arg1);
+ public native void drawWinFocusRect(TQRect arg1, TQColor bgColor);
+ public native void drawRoundRect(int x, int y, int w, int h, int arg5, int arg6);
+ public native void drawRoundRect(int x, int y, int w, int h, int arg5);
+ public native void drawRoundRect(int x, int y, int w, int h);
+ public native void drawRoundRect(TQRect arg1, int arg2, int arg3);
+ public native void drawRoundRect(TQRect arg1, int arg2);
+ public native void drawRoundRect(TQRect arg1);
+ public native void drawEllipse(int x, int y, int w, int h);
+ public native void drawEllipse(TQRect arg1);
+ public native void drawArc(int x, int y, int w, int h, int a, int alen);
+ public native void drawArc(TQRect arg1, int a, int alen);
+ public native void drawPie(int x, int y, int w, int h, int a, int alen);
+ public native void drawPie(TQRect arg1, int a, int alen);
+ public native void drawChord(int x, int y, int w, int h, int a, int alen);
+ public native void drawChord(TQRect arg1, int a, int alen);
+ public native void drawLineSegments(TQPointArray arg1, int index, int nlines);
+ public native void drawLineSegments(TQPointArray arg1, int index);
+ public native void drawLineSegments(TQPointArray arg1);
+ public native void drawPolyline(TQPointArray arg1, int index, int npoints);
+ public native void drawPolyline(TQPointArray arg1, int index);
+ public native void drawPolyline(TQPointArray arg1);
+ public native void drawPolygon(TQPointArray arg1, boolean winding, int index, int npoints);
+ public native void drawPolygon(TQPointArray arg1, boolean winding, int index);
+ public native void drawPolygon(TQPointArray arg1, boolean winding);
+ public native void drawPolygon(TQPointArray arg1);
+ public native void drawConvexPolygon(TQPointArray arg1, int index, int npoints);
+ public native void drawConvexPolygon(TQPointArray arg1, int index);
+ public native void drawConvexPolygon(TQPointArray arg1);
+ public native void drawCubicBezier(TQPointArray arg1, int index);
+ public native void drawCubicBezier(TQPointArray arg1);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw, int sh);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy);
+ public native void drawPixmap(int x, int y, TQPixmap arg3, int sx);
+ public native void drawPixmap(int x, int y, TQPixmap arg3);
+ public native void drawPixmap(TQPoint arg1, TQPixmap arg2, TQRect sr);
+ public native void drawPixmap(TQPoint arg1, TQPixmap arg2);
+ public native void drawPixmap(TQRect arg1, TQPixmap arg2);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh, int conversionFlags);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw);
+ public native void drawImage(int x, int y, TQImage arg3, int sx, int sy);
+ public native void drawImage(int x, int y, TQImage arg3, int sx);
+ public native void drawImage(int x, int y, TQImage arg3);
+ public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr, int conversionFlags);
+ public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr);
+ public native void drawImage(TQPoint arg1, TQImage arg2, int conversion_flags);
+ public native void drawImage(TQPoint arg1, TQImage arg2);
+ public native void drawImage(TQRect arg1, TQImage arg2);
+ public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx, int sy);
+ public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx);
+ public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5);
+ public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2, TQPoint arg3);
+ public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2);
+ public native void drawPicture(TQPicture arg1);
+ public native void drawPicture(int x, int y, TQPicture arg3);
+ public native void drawPicture(TQPoint arg1, TQPicture arg2);
+ public native void fillRect(int x, int y, int w, int h, TQBrush arg5);
+ public native void fillRect(TQRect arg1, TQBrush arg2);
+ public native void eraseRect(int x, int y, int w, int h);
+ public native void eraseRect(TQRect arg1);
+ public native void drawText(int x, int y, String arg3, int len, int dir);
+ public native void drawText(int x, int y, String arg3, int len);
+ public native void drawText(int x, int y, String arg3);
+ public native void drawText(TQPoint arg1, String arg2, int len, int dir);
+ public native void drawText(TQPoint arg1, String arg2, int len);
+ public native void drawText(TQPoint arg1, String arg2);
+ public native void drawText(int x, int y, String arg3, int pos, int len, int dir);
+ public native void drawText(TQPoint p, String arg2, int pos, int len, int dir);
+ // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQRect* arg8,TQTextParag** arg9); >>>> NOT CONVERTED
+ public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, TQRect br);
+ public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len);
+ public native void drawText(int x, int y, int w, int h, int flags, String arg6);
+ // void drawText(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQRect* arg5,TQTextParag** arg6); >>>> NOT CONVERTED
+ public native void drawText(TQRect arg1, int flags, String arg3, int len, TQRect br);
+ public native void drawText(TQRect arg1, int flags, String arg3, int len);
+ public native void drawText(TQRect arg1, int flags, String arg3);
+ // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQTextParag** arg8); >>>> NOT CONVERTED
+ public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len);
+ public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6);
+ // TQRect boundingRect(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQTextParag** arg5); >>>> NOT CONVERTED
+ public native TQRect boundingRect(TQRect arg1, int flags, String arg3, int len);
+ public native TQRect boundingRect(TQRect arg1, int flags, String arg3);
+ public native int tabStops();
+ public native void setTabStops(int arg1);
+ public native int[] tabArray();
+ public native void setTabArray(int[] arg1);
+ public static native void redirect(TQPaintDeviceInterface pdev, TQPaintDeviceInterface replacement);
+ public static native TQPaintDeviceInterface redirect(TQPaintDeviceInterface pdev);
+ public static native void initialize();
+ public static native void cleanup();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}