You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
173 lines
6.6 KiB
Java
173 lines
6.6 KiB
Java
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.qt;
|
|
|
|
import org.kde.qt.Qt;
|
|
|
|
public class QPixmap extends Qt implements QPaintDeviceInterface {
|
|
protected QPixmap(Class dummy){super((Class) null);}
|
|
public static final int Auto = 0;
|
|
public static final int Color = 1;
|
|
public static final int Mono = 2;
|
|
|
|
public static final int DefaultOptim = 0;
|
|
public static final int NoOptim = 1;
|
|
public static final int MemoryOptim = NoOptim;
|
|
public static final int NormalOptim = 2;
|
|
public static final int BestOptim = 3;
|
|
|
|
public QPixmap() {
|
|
super((Class) null);
|
|
newQPixmap();
|
|
}
|
|
private native void newQPixmap();
|
|
public QPixmap(QImage image) {
|
|
super((Class) null);
|
|
newQPixmap(image);
|
|
}
|
|
private native void newQPixmap(QImage image);
|
|
public QPixmap(int w, int h, int depth, int arg4) {
|
|
super((Class) null);
|
|
newQPixmap(w,h,depth,arg4);
|
|
}
|
|
private native void newQPixmap(int w, int h, int depth, int arg4);
|
|
public QPixmap(int w, int h, int depth) {
|
|
super((Class) null);
|
|
newQPixmap(w,h,depth);
|
|
}
|
|
private native void newQPixmap(int w, int h, int depth);
|
|
public QPixmap(int w, int h) {
|
|
super((Class) null);
|
|
newQPixmap(w,h);
|
|
}
|
|
private native void newQPixmap(int w, int h);
|
|
public QPixmap(QSize arg1, int depth, int arg3) {
|
|
super((Class) null);
|
|
newQPixmap(arg1,depth,arg3);
|
|
}
|
|
private native void newQPixmap(QSize arg1, int depth, int arg3);
|
|
public QPixmap(QSize arg1, int depth) {
|
|
super((Class) null);
|
|
newQPixmap(arg1,depth);
|
|
}
|
|
private native void newQPixmap(QSize arg1, int depth);
|
|
public QPixmap(QSize arg1) {
|
|
super((Class) null);
|
|
newQPixmap(arg1);
|
|
}
|
|
private native void newQPixmap(QSize arg1);
|
|
public QPixmap(String fileName, String format, int mode) {
|
|
super((Class) null);
|
|
newQPixmap(fileName,format,mode);
|
|
}
|
|
private native void newQPixmap(String fileName, String format, int mode);
|
|
public QPixmap(String fileName, String format) {
|
|
super((Class) null);
|
|
newQPixmap(fileName,format);
|
|
}
|
|
private native void newQPixmap(String fileName, String format);
|
|
public QPixmap(String fileName) {
|
|
super((Class) null);
|
|
newQPixmap(fileName);
|
|
}
|
|
private native void newQPixmap(String fileName);
|
|
public QPixmap(String[] xpm) {
|
|
super((Class) null);
|
|
newQPixmap(xpm);
|
|
}
|
|
private native void newQPixmap(String[] xpm);
|
|
public QPixmap(byte[] data) {
|
|
super((Class) null);
|
|
newQPixmap(data);
|
|
}
|
|
private native void newQPixmap(byte[] data);
|
|
public QPixmap(QPixmap arg1) {
|
|
super((Class) null);
|
|
newQPixmap(arg1);
|
|
}
|
|
private native void newQPixmap(QPixmap arg1);
|
|
public native boolean isNull();
|
|
public native int width();
|
|
public native int height();
|
|
public native QSize size();
|
|
public native QRect rect();
|
|
public native int depth();
|
|
public native void fill(QColor fillColor);
|
|
public native void fill();
|
|
public native void fill(QWidget arg1, int xofs, int yofs);
|
|
public native void fill(QWidget arg1, QPoint ofs);
|
|
public native void resize(int width, int height);
|
|
public native void resize(QSize arg1);
|
|
public native QBitmap mask();
|
|
public native void setMask(QBitmap arg1);
|
|
public native boolean selfMask();
|
|
public native boolean hasAlpha();
|
|
public native boolean hasAlphaChannel();
|
|
public native QBitmap createHeuristicMask(boolean clipTight);
|
|
public native QBitmap createHeuristicMask();
|
|
public native Object xForm(QWMatrix arg1);
|
|
public native QImage convertToImage();
|
|
public native boolean convertFromImage(QImage arg1, int mode);
|
|
public native boolean convertFromImage(QImage arg1);
|
|
public native boolean load(String fileName, String format, int mode);
|
|
public native boolean load(String fileName, String format);
|
|
public native boolean load(String fileName);
|
|
public native boolean loadFromData(char[] buf, int len, String format, int mode);
|
|
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, int conversion_flags);
|
|
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(QIODeviceInterface device, String format, int quality);
|
|
public native boolean save(QIODeviceInterface device, String format);
|
|
public native int serialNumber();
|
|
public native int optimization();
|
|
public native void setOptimization(int arg1);
|
|
public native void detach();
|
|
public native boolean isQBitmap();
|
|
public static native int defaultDepth();
|
|
public static native QPixmap fromMimeSource(String abs_name);
|
|
public static native QPixmap grabWindow(long arg1, int x, int y, int w, int h);
|
|
public static native QPixmap grabWindow(long arg1, int x, int y, int w);
|
|
public static native QPixmap grabWindow(long arg1, int x, int y);
|
|
public static native QPixmap grabWindow(long arg1, int x);
|
|
public static native QPixmap grabWindow(long arg1);
|
|
public static native QPixmap grabWidget(QWidget widget, int x, int y, int w, int h);
|
|
public static native QPixmap grabWidget(QWidget widget, int x, int y, int w);
|
|
public static native QPixmap grabWidget(QWidget widget, int x, int y);
|
|
public static native QPixmap grabWidget(QWidget widget, int x);
|
|
public static native QPixmap grabWidget(QWidget widget);
|
|
public static native QWMatrix trueMatrix(QWMatrix arg1, int w, int h);
|
|
public static native String imageFormat(String fileName);
|
|
public static native int defaultOptimization();
|
|
public static native void setDefaultOptimization(int arg1);
|
|
public QPixmap(int w, int h, char[] data, boolean isXbitmap) {
|
|
super((Class) null);
|
|
newQPixmap(w,h,data,isXbitmap);
|
|
}
|
|
private native void newQPixmap(int w, int h, char[] data, boolean isXbitmap);
|
|
protected native int metric(int arg1);
|
|
/** 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 devType();
|
|
public native boolean isExtDev();
|
|
public native boolean paintingActive();
|
|
public native void setResolution(int arg1);
|
|
public native int resolution();
|
|
// bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
|
|
protected native int fontMet(QFont arg1, int arg2, String arg3, int arg4);
|
|
protected native int fontMet(QFont arg1, int arg2, String arg3);
|
|
protected native int fontMet(QFont arg1, int arg2);
|
|
protected native int fontInf(QFont arg1, int arg2);
|
|
public native boolean loadFromData(char[] data);
|
|
|
|
/** Internal method */
|
|
protected native long paintDevice();
|
|
|
|
}
|