diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPainter.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QPainter.java | 247 |
1 files changed, 247 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPainter.java b/qtjava/javalib/org/kde/qt/QPainter.java new file mode 100644 index 00000000..146d06e6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QPainter.java @@ -0,0 +1,247 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QPainter extends Qt { + protected QPainter(Class dummy){super((Class) null);} + public static final int IsActive = 0x01; + public static final int ExtDev = 0x02; + public static final int IsStartingUp = 0x04; + public static final int NoCache = 0x08; + public static final int VxF = 0x10; + public static final int WxF = 0x20; + public static final int ClipOn = 0x40; + public static final int SafePolygon = 0x80; + public static final int MonoDev = 0x100; + public static final int DirtyFont = 0x200; + public static final int DirtyPen = 0x400; + public static final int DirtyBrush = 0x800; + public static final int RGBColor = 0x1000; + public static final int FontMet = 0x2000; + public static final int FontInf = 0x4000; + public static final int CtorBegin = 0x8000; + public static final int UsePrivateCx = 0x10000; + public static final int VolatileDC = 0x20000; + public static final int Qt2Compat = 0x40000; + + public static final int CoordDevice = 0; + public static final int CoordPainter = 1; + + public static final int Auto = 0; + public static final int RTL = 1; + public static final int LTR = 2; + + public QPainter() { + super((Class) null); + newQPainter(); + } + private native void newQPainter(); + public QPainter(QPaintDeviceInterface arg1, boolean unclipped) { + super((Class) null); + newQPainter(arg1,unclipped); + } + private native void newQPainter(QPaintDeviceInterface arg1, boolean unclipped); + public QPainter(QPaintDeviceInterface arg1) { + super((Class) null); + newQPainter(arg1); + } + private native void newQPainter(QPaintDeviceInterface arg1); + public QPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped) { + super((Class) null); + newQPainter(arg1,arg2,unclipped); + } + private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped); + public QPainter(QPaintDeviceInterface arg1, QWidget arg2) { + super((Class) null); + newQPainter(arg1,arg2); + } + private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2); + public native boolean begin(QPaintDeviceInterface arg1, boolean unclipped); + public native boolean begin(QPaintDeviceInterface arg1); + public native boolean begin(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped); + public native boolean begin(QPaintDeviceInterface arg1, QWidget arg2); + public native boolean end(); + public native QPaintDeviceInterface device(); + public native boolean isActive(); + public native void flush(QRegion region, int cm); + public native void flush(QRegion region); + public native void flush(); + public native void save(); + public native void restore(); + public native QFontMetrics fontMetrics(); + public native QFontInfo fontInfo(); + public native QFont font(); + public native void setFont(QFont arg1); + public native QPen pen(); + public native void setPen(QPen arg1); + public native void setPen(int arg1); + public native void setPen(QColor arg1); + public native QBrush brush(); + public native void setBrush(QBrush arg1); + public native void setBrush(int arg1); + public native void setBrush(QColor arg1); + public native QPoint pos(); + public native QColor backgroundColor(); + public native void setBackgroundColor(QColor arg1); + public native int backgroundMode(); + public native void setBackgroundMode(int arg1); + public native int rasterOp(); + public native void setRasterOp(int arg1); + public native QPoint brushOrigin(); + public native void setBrushOrigin(int x, int y); + public native void setBrushOrigin(QPoint arg1); + public native boolean hasViewXForm(); + public native boolean hasWorldXForm(); + public native void setViewXForm(boolean arg1); + public native QRect window(); + public native void setWindow(QRect arg1); + public native void setWindow(int x, int y, int w, int h); + public native QRect viewport(); + public native void setViewport(QRect arg1); + public native void setViewport(int x, int y, int w, int h); + public native void setWorldXForm(boolean arg1); + public native QWMatrix worldMatrix(); + public native void setWorldMatrix(QWMatrix arg1, boolean combine); + public native void setWorldMatrix(QWMatrix arg1); + public native void saveWorldMatrix(); + public native void restoreWorldMatrix(); + public native void scale(double sx, double sy); + public native void shear(double sh, double sv); + public native void rotate(double a); + public native void translate(double dx, double dy); + public native void resetXForm(); + public native double translationX(); + public native double translationY(); + public native Object xForm(QPoint arg1); + public native Object xForm(QRect arg1); + public native Object xForm(QPointArray arg1); + public native Object xForm(QPointArray arg1, int index, int npoints); + public native QPoint xFormDev(QPoint arg1); + public native QRect xFormDev(QRect arg1); + public native QPointArray xFormDev(QPointArray arg1); + public native QPointArray xFormDev(QPointArray arg1, int index, int npoints); + public native void setClipping(boolean arg1); + public native boolean hasClipping(); + public native QRegion clipRegion(int arg1); + public native QRegion clipRegion(); + public native void setClipRect(QRect arg1, int arg2); + public native void setClipRect(QRect arg1); + public native void setClipRect(int x, int y, int w, int h, int arg5); + public native void setClipRect(int x, int y, int w, int h); + public native void setClipRegion(QRegion arg1, int arg2); + public native void setClipRegion(QRegion arg1); + public native void drawPoint(int x, int y); + public native void drawPoint(QPoint arg1); + public native void drawPoints(QPointArray a, int index, int npoints); + public native void drawPoints(QPointArray a, int index); + public native void drawPoints(QPointArray a); + public native void moveTo(int x, int y); + public native void moveTo(QPoint arg1); + public native void lineTo(int x, int y); + public native void lineTo(QPoint arg1); + public native void drawLine(int x1, int y1, int x2, int y2); + public native void drawLine(QPoint arg1, QPoint arg2); + public native void drawRect(int x, int y, int w, int h); + public native void drawRect(QRect arg1); + public native void drawWinFocusRect(int x, int y, int w, int h); + public native void drawWinFocusRect(int x, int y, int w, int h, QColor bgColor); + public native void drawWinFocusRect(QRect arg1); + public native void drawWinFocusRect(QRect arg1, QColor bgColor); + public native void drawRoundRect(int x, int y, int w, int h, int arg5, int arg6); + public native void drawRoundRect(int x, int y, int w, int h, int arg5); + public native void drawRoundRect(int x, int y, int w, int h); + public native void drawRoundRect(QRect arg1, int arg2, int arg3); + public native void drawRoundRect(QRect arg1, int arg2); + public native void drawRoundRect(QRect arg1); + public native void drawEllipse(int x, int y, int w, int h); + public native void drawEllipse(QRect arg1); + public native void drawArc(int x, int y, int w, int h, int a, int alen); + public native void drawArc(QRect arg1, int a, int alen); + public native void drawPie(int x, int y, int w, int h, int a, int alen); + public native void drawPie(QRect arg1, int a, int alen); + public native void drawChord(int x, int y, int w, int h, int a, int alen); + public native void drawChord(QRect arg1, int a, int alen); + public native void drawLineSegments(QPointArray arg1, int index, int nlines); + public native void drawLineSegments(QPointArray arg1, int index); + public native void drawLineSegments(QPointArray arg1); + public native void drawPolyline(QPointArray arg1, int index, int npoints); + public native void drawPolyline(QPointArray arg1, int index); + public native void drawPolyline(QPointArray arg1); + public native void drawPolygon(QPointArray arg1, boolean winding, int index, int npoints); + public native void drawPolygon(QPointArray arg1, boolean winding, int index); + public native void drawPolygon(QPointArray arg1, boolean winding); + public native void drawPolygon(QPointArray arg1); + public native void drawConvexPolygon(QPointArray arg1, int index, int npoints); + public native void drawConvexPolygon(QPointArray arg1, int index); + public native void drawConvexPolygon(QPointArray arg1); + public native void drawCubicBezier(QPointArray arg1, int index); + public native void drawCubicBezier(QPointArray arg1); + public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw, int sh); + public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw); + public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy); + public native void drawPixmap(int x, int y, QPixmap arg3, int sx); + public native void drawPixmap(int x, int y, QPixmap arg3); + public native void drawPixmap(QPoint arg1, QPixmap arg2, QRect sr); + public native void drawPixmap(QPoint arg1, QPixmap arg2); + public native void drawPixmap(QRect arg1, QPixmap arg2); + public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh, int conversionFlags); + public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh); + public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw); + public native void drawImage(int x, int y, QImage arg3, int sx, int sy); + public native void drawImage(int x, int y, QImage arg3, int sx); + public native void drawImage(int x, int y, QImage arg3); + public native void drawImage(QPoint arg1, QImage arg2, QRect sr, int conversionFlags); + public native void drawImage(QPoint arg1, QImage arg2, QRect sr); + public native void drawImage(QPoint arg1, QImage arg2, int conversion_flags); + public native void drawImage(QPoint arg1, QImage arg2); + public native void drawImage(QRect arg1, QImage arg2); + public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx, int sy); + public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx); + public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5); + public native void drawTiledPixmap(QRect arg1, QPixmap arg2, QPoint arg3); + public native void drawTiledPixmap(QRect arg1, QPixmap arg2); + public native void drawPicture(QPicture arg1); + public native void drawPicture(int x, int y, QPicture arg3); + public native void drawPicture(QPoint arg1, QPicture arg2); + public native void fillRect(int x, int y, int w, int h, QBrush arg5); + public native void fillRect(QRect arg1, QBrush arg2); + public native void eraseRect(int x, int y, int w, int h); + public native void eraseRect(QRect arg1); + public native void drawText(int x, int y, String arg3, int len, int dir); + public native void drawText(int x, int y, String arg3, int len); + public native void drawText(int x, int y, String arg3); + public native void drawText(QPoint arg1, String arg2, int len, int dir); + public native void drawText(QPoint arg1, String arg2, int len); + public native void drawText(QPoint arg1, String arg2); + public native void drawText(int x, int y, String arg3, int pos, int len, int dir); + public native void drawText(QPoint p, String arg2, int pos, int len, int dir); + // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QRect* arg8,QTextParag** arg9); >>>> NOT CONVERTED + public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, QRect br); + public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len); + public native void drawText(int x, int y, int w, int h, int flags, String arg6); + // void drawText(const QRect& arg1,int arg2,const QString& arg3,int arg4,QRect* arg5,QTextParag** arg6); >>>> NOT CONVERTED + public native void drawText(QRect arg1, int flags, String arg3, int len, QRect br); + public native void drawText(QRect arg1, int flags, String arg3, int len); + public native void drawText(QRect arg1, int flags, String arg3); + // QRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QTextParag** arg8); >>>> NOT CONVERTED + public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len); + public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6); + // QRect boundingRect(const QRect& arg1,int arg2,const QString& arg3,int arg4,QTextParag** arg5); >>>> NOT CONVERTED + public native QRect boundingRect(QRect arg1, int flags, String arg3, int len); + public native QRect boundingRect(QRect arg1, int flags, String arg3); + public native int tabStops(); + public native void setTabStops(int arg1); + public native int[] tabArray(); + public native void setTabArray(int[] arg1); + public static native void redirect(QPaintDeviceInterface pdev, QPaintDeviceInterface replacement); + public static native QPaintDeviceInterface redirect(QPaintDeviceInterface pdev); + public static native void initialize(); + public static native void cleanup(); + /** 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(); +} |