diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/TQImage.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/TQImage.java | 171 |
1 files changed, 171 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/TQImage.java b/qtjava/javalib/org/kde/qt/TQImage.java new file mode 100644 index 00000000..f6821a5a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImage.java @@ -0,0 +1,171 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQImage implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImage(Class dummy){} + + public static final int IgnoreEndian = 0; + public static final int BigEndian = 1; + public static final int LittleEndian = 2; + + public static final int ScaleFree = 0; + public static final int ScaleMin = 1; + public static final int ScaleMax = 2; + + public TQImage() { + newTQImage(); + } + private native void newTQImage(); + public TQImage(int width, int height, int depth, int numColors, int bitOrder) { + newTQImage(width,height,depth,numColors,bitOrder); + } + private native void newTQImage(int width, int height, int depth, int numColors, int bitOrder); + public TQImage(int width, int height, int depth, int numColors) { + newTQImage(width,height,depth,numColors); + } + private native void newTQImage(int width, int height, int depth, int numColors); + public TQImage(int width, int height, int depth) { + newTQImage(width,height,depth); + } + private native void newTQImage(int width, int height, int depth); + public TQImage(TQSize arg1, int depth, int numColors, int bitOrder) { + newTQImage(arg1,depth,numColors,bitOrder); + } + private native void newTQImage(TQSize arg1, int depth, int numColors, int bitOrder); + public TQImage(TQSize arg1, int depth, int numColors) { + newTQImage(arg1,depth,numColors); + } + private native void newTQImage(TQSize arg1, int depth, int numColors); + public TQImage(TQSize arg1, int depth) { + newTQImage(arg1,depth); + } + private native void newTQImage(TQSize arg1, int depth); + public TQImage(String fileName, String format) { + newTQImage(fileName,format); + } + private native void newTQImage(String fileName, String format); + public TQImage(String fileName) { + newTQImage(fileName); + } + private native void newTQImage(String fileName); + // TQImage* TQImage(const char** arg1); >>>> NOT CONVERTED + public TQImage(byte[] data) { + newTQImage(data); + } + private native void newTQImage(byte[] data); + public TQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) { + newTQImage(data,w,h,depth,colortable,numColors,bitOrder); + } + private native void newTQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder); + public TQImage(TQImage arg1) { + newTQImage(arg1); + } + private native void newTQImage(TQImage arg1); + public native boolean op_equals(TQImage arg1); + public native boolean op_not_equals(TQImage arg1); + public native void detach(); + public native TQImage copy(); + public native TQImage copy(int x, int y, int w, int h, int conversion_flags); + public native TQImage copy(int x, int y, int w, int h); + public native TQImage copy(TQRect arg1); + public native boolean isNull(); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQRect rect(); + public native int depth(); + public native int numColors(); + public native int bitOrder(); + public native int color(int i); + public native void setColor(int i, int c); + public native void setNumColors(int arg1); + public native boolean hasAlphaBuffer(); + public native void setAlphaBuffer(boolean arg1); + public native boolean allGray(); + public native boolean isGrayscale(); + public native byte[] bits(); + public native byte[] scanLine(int arg1); + public native ArrayList jumpTable(); + public native int[] colorTable(); + public native int numBytes(); + public native int bytesPerLine(); + public native boolean create(int width, int height, int depth, int numColors, int bitOrder); + public native boolean create(int width, int height, int depth, int numColors); + public native boolean create(int width, int height, int depth); + public native boolean create(TQSize arg1, int depth, int numColors, int bitOrder); + public native boolean create(TQSize arg1, int depth, int numColors); + public native boolean create(TQSize arg1, int depth); + public native void reset(); + public native void fill(int pixel); + public native void invertPixels(boolean invertAlpha); + public native void invertPixels(); + public native TQImage convertDepth(int arg1); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc); + public native TQImage convertDepth(int arg1, int conversion_flags); + public native TQImage convertBitOrder(int arg1); + public native TQImage smoothScale(int w, int h, int mode); + public native TQImage smoothScale(int w, int h); + public native TQImage smoothScale(TQSize s, int mode); + public native TQImage smoothScale(TQSize s); + public native TQImage scale(int w, int h, int mode); + public native TQImage scale(int w, int h); + public native TQImage scale(TQSize s, int mode); + public native TQImage scale(TQSize s); + public native TQImage scaleWidth(int w); + public native TQImage scaleHeight(int h); + public native Object xForm(TQWMatrix matrix); + public native TQImage createAlphaMask(int conversion_flags); + public native TQImage createAlphaMask(); + public native TQImage createHeuristicMask(boolean clipTight); + public native TQImage createHeuristicMask(); + public native TQImage mirror(); + public native TQImage mirror(boolean horizontally, boolean vertically); + public native TQImage swapRGB(); + public native boolean load(String fileName, String format); + public native boolean load(String fileName); + public native boolean loadFromData(char[] buf, int len, String format); + public native boolean loadFromData(char[] buf, int len); + public native boolean loadFromData(byte[] data, String format); + public native boolean loadFromData(byte[] data); + public native boolean save(String fileName, String format, int quality); + public native boolean save(String fileName, String format); + public native boolean save(TQIODeviceInterface device, String format, int quality); + public native boolean save(TQIODeviceInterface device, String format); + public native boolean valid(int x, int y); + public native int pixelIndex(int x, int y); + public native int pixel(int x, int y); + public native void setPixel(int x, int y, int index_or_rgb); + public native int dotsPerMeterX(); + public native int dotsPerMeterY(); + public native void setDotsPerMeterX(int arg1); + public native void setDotsPerMeterY(int arg1); + public native TQPoint offset(); + public native void setOffset(TQPoint arg1); + // TQValueList<TQImageTextKeyLang> textList(); >>>> NOT CONVERTED + public native ArrayList textLanguages(); + public native ArrayList textKeys(); + public native String text(String key, String lang); + public native String text(String key); + public native String text(TQImageTextKeyLang arg1); + public native void setText(String key, String lang, String arg3); + public static native TQImage fromMimeSource(String abs_name); + public static native int systemBitOrder(); + public static native int systemByteOrder(); + public static native String imageFormat(String fileName); + public static native ArrayList inputFormats(); + public static native ArrayList outputFormats(); + public static native ArrayList inputFormatList(); + public static native ArrayList outputFormatList(); + /** 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(); +} |