summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QPointArray.java
blob: 419d9bab58cc0310d2439a4aee2a20408f0fde2b (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 QPointArray implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QPointArray(Class dummy){}

	public QPointArray() {
		newQPointArray();
	}
	private native void newQPointArray();
	public QPointArray(int size) {
		newQPointArray(size);
	}
	private native void newQPointArray(int size);
	public QPointArray(QPointArray a) {
		newQPointArray(a);
	}
	private native void newQPointArray(QPointArray a);
	public QPointArray(QRect r, boolean closed) {
		newQPointArray(r,closed);
	}
	private native void newQPointArray(QRect r, boolean closed);
	public QPointArray(QRect r) {
		newQPointArray(r);
	}
	private native void newQPointArray(QRect r);
	public QPointArray(int nPoints, short[] points) {
		newQPointArray(nPoints,points);
	}
	private native void newQPointArray(int nPoints, short[] points);
	public native QPointArray copy();
	public native void translate(int dx, int dy);
	public native QRect boundingRect();
	public native void point(int i, int[] x, int[] y);
	public native QPoint point(int i);
	public native void setPoint(int i, int x, int y);
	public native void setPoint(int i, QPoint 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, QPointArray from, int fromIndex);
	public native boolean putPoints(int index, int nPoints, QPointArray 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, QWMatrix arg7);
	public native QPointArray 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 QPoint at(int index);
	
}