summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQPaintDevice.java
blob: 5e7f9915aea62fd0a96dc8a2c9e417e59994befe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.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();

}