//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

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);

}
