summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java86
1 files changed, 86 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java
new file mode 100644
index 00000000..cbe8c2e6
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java
@@ -0,0 +1,86 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+
+public class TQPaintDevice implements QtSupport, TQPaintDeviceInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected TQPaintDevice(Class dummy){}
+
+ public static final int PdcNOP = 0;
+ public static final int PdcDrawPoint = 1;
+ public static final int PdcDrawFirst = PdcDrawPoint;
+ public static final int PdcMoveTo = 2;
+ public static final int PdcLineTo = 3;
+ public static final int PdcDrawLine = 4;
+ public static final int PdcDrawRect = 5;
+ public static final int PdcDrawRoundRect = 6;
+ public static final int PdcDrawEllipse = 7;
+ public static final int PdcDrawArc = 8;
+ public static final int PdcDrawPie = 9;
+ public static final int PdcDrawChord = 10;
+ public static final int PdcDrawLineSegments = 11;
+ public static final int PdcDrawPolyline = 12;
+ public static final int PdcDrawPolygon = 13;
+ public static final int PdcDrawCubicBezier = 14;
+ public static final int PdcDrawText = 15;
+ public static final int PdcDrawTextFormatted = 16;
+ public static final int PdcDrawPixmap = 17;
+ public static final int PdcDrawImage = 18;
+ public static final int PdcDrawText2 = 19;
+ public static final int PdcDrawText2Formatted = 20;
+ public static final int PdcDrawTextItem = 21;
+ public static final int PdcDrawLast = PdcDrawTextItem;
+ public static final int PdcBegin = 30;
+ public static final int PdcEnd = 31;
+ public static final int PdcSave = 32;
+ public static final int PdcRestore = 33;
+ public static final int PdcSetdev = 34;
+ public static final int PdcSetBkColor = 40;
+ public static final int PdcSetBkMode = 41;
+ public static final int PdcSetROP = 42;
+ public static final int PdcSetBrushOrigin = 43;
+ public static final int PdcSetFont = 45;
+ public static final int PdcSetPen = 46;
+ public static final int PdcSetBrush = 47;
+ public static final int PdcSetTabStops = 48;
+ public static final int PdcSetTabArray = 49;
+ public static final int PdcSetUnit = 50;
+ public static final int PdcSetVXform = 51;
+ public static final int PdcSetWindow = 52;
+ public static final int PdcSetViewport = 53;
+ public static final int PdcSetWXform = 54;
+ public static final int PdcSetWMatrix = 55;
+ public static final int PdcSaveWMatrix = 56;
+ public static final int PdcRestoreWMatrix = 57;
+ public static final int PdcSetClip = 60;
+ public static final int PdcSetClipRegion = 61;
+ public static final int PdcReservedStart = 0;
+ public static final int PdcReservedStop = 199;
+
+ public native int devType();
+ public native boolean isExtDev();
+ public native boolean paintingActive();
+ public native void setResolution(int arg1);
+ public native int resolution();
+ public TQPaintDevice(int devflags) {
+ newTQPaintDevice(devflags);
+ }
+ private native void newTQPaintDevice(int devflags);
+ // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED
+ protected native int metric(int arg1);
+ protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4);
+ protected native int fontMet(TQFont arg1, int arg2, String arg3);
+ protected native int fontMet(TQFont arg1, int arg2);
+ protected native int fontInf(TQFont arg1, int arg2);
+ /** 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();
+ /** Internal method */
+ protected native long paintDevice();
+
+}