summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQRegion.java
blob: e0db2778932441582a317cb81ad8bcf699a8cfb2 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;
import java.util.ArrayList;

public class TQRegion implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQRegion(Class dummy){}

	public static final int Rectangle = 0;
	public static final int Ellipse = 1;

	public TQRegion() {
		newTQRegion();
	}
	private native void newTQRegion();
	public TQRegion(int x, int y, int w, int h, int arg5) {
		newTQRegion(x,y,w,h,arg5);
	}
	private native void newTQRegion(int x, int y, int w, int h, int arg5);
	public TQRegion(int x, int y, int w, int h) {
		newTQRegion(x,y,w,h);
	}
	private native void newTQRegion(int x, int y, int w, int h);
	public TQRegion(TQRect arg1, int arg2) {
		newTQRegion(arg1,arg2);
	}
	private native void newTQRegion(TQRect arg1, int arg2);
	public TQRegion(TQRect arg1) {
		newTQRegion(arg1);
	}
	private native void newTQRegion(TQRect arg1);
	public TQRegion(TQPointArray arg1, boolean winding) {
		newTQRegion(arg1,winding);
	}
	private native void newTQRegion(TQPointArray arg1, boolean winding);
	public TQRegion(TQPointArray arg1) {
		newTQRegion(arg1);
	}
	private native void newTQRegion(TQPointArray arg1);
	public TQRegion(TQRegion arg1) {
		newTQRegion(arg1);
	}
	private native void newTQRegion(TQRegion arg1);
	public TQRegion(TQBitmap arg1) {
		newTQRegion(arg1);
	}
	private native void newTQRegion(TQBitmap arg1);
	public native boolean isNull();
	public native boolean isEmpty();
	public native boolean contains(TQPoint p);
	public native boolean contains(TQRect r);
	public native void translate(int dx, int dy);
	public native TQRegion unite(TQRegion arg1);
	public native TQRegion intersect(TQRegion arg1);
	public native TQRegion subtract(TQRegion arg1);
	public native TQRegion eor(TQRegion arg1);
	public native TQRect boundingRect();
	public native ArrayList rects();
	public native void setRects(TQRect arg1, int arg2);
	public native TQRegion op_or(TQRegion arg1);
	public native TQRegion op_plus(TQRegion arg1);
	public native TQRegion op_and(TQRegion arg1);
	public native TQRegion op_minus(TQRegion arg1);
	public native TQRegion op_xor(TQRegion arg1);
	public native TQRegion op_or_assign(TQRegion arg1);
	public native TQRegion op_plus_assign(TQRegion arg1);
	public native TQRegion op_and_assign(TQRegion arg1);
	public native TQRegion op_minus_assign(TQRegion arg1);
	public native TQRegion op_xor_assign(TQRegion arg1);
	public native boolean op_equals(TQRegion arg1);
	public native boolean op_not_equals(TQRegion r);
	/** 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();
}