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

import org.kde.qt.Qt;

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

	public TQPointArray() {
		newTQPointArray();
	}
	private native void newTQPointArray();
	public TQPointArray(int size) {
		newTQPointArray(size);
	}
	private native void newTQPointArray(int size);
	public TQPointArray(TQPointArray a) {
		newTQPointArray(a);
	}
	private native void newTQPointArray(TQPointArray a);
	public TQPointArray(TQRect r, boolean closed) {
		newTQPointArray(r,closed);
	}
	private native void newTQPointArray(TQRect r, boolean closed);
	public TQPointArray(TQRect r) {
		newTQPointArray(r);
	}
	private native void newTQPointArray(TQRect r);
	public TQPointArray(int nPoints, short[] points) {
		newTQPointArray(nPoints,points);
	}
	private native void newTQPointArray(int nPoints, short[] points);
	public native TQPointArray copy();
	public native void translate(int dx, int dy);
	public native TQRect boundingRect();
	public native void point(int i, int[] x, int[] y);
	public native TQPoint point(int i);
	public native void setPoint(int i, int x, int y);
	public native void setPoint(int i, TQPoint p);
	public native boolean setPoints(int nPoints, short[] points);
	public native boolean putPoints(int index, int nPoints, short[] points);
	public native boolean putPoints(int index, int nPoints, TQPointArray from, int fromIndex);
	public native boolean putPoints(int index, int nPoints, TQPointArray from);
	public native void makeArc(int x, int y, int w, int h, int a1, int a2);
	public native void makeEllipse(int x, int y, int w, int h);
	public native void makeArc(int x, int y, int w, int h, int a1, int a2, TQWMatrix arg7);
	public native TQPointArray cubicBezier();
	// void* shortPoints(int arg1,int arg2); >>>> NOT CONVERTED
	// void* shortPoints(int arg1); >>>> NOT CONVERTED
	// void* shortPoints(); >>>> NOT CONVERTED
	public static native void cleanBuffers();
	/** 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();
	public native int size();
	public native int count();
	public native boolean isEmpty();
	public native boolean isNull();
	public native boolean resize( int size);
	public native boolean truncate( int pos);
	public native TQPoint at(int index);
	
}