summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QPainter.java
blob: 8db7725c107558916d81f8996fe1ea77ecb0158d (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

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