diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/java/awt/peer/qt/QtImage.h | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/gnu/java/awt/peer/qt/QtImage.h')
-rw-r--r-- | libjava/gnu/java/awt/peer/qt/QtImage.h | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/peer/qt/QtImage.h b/libjava/gnu/java/awt/peer/qt/QtImage.h new file mode 100644 index 000000000..4c921b228 --- /dev/null +++ b/libjava/gnu/java/awt/peer/qt/QtImage.h @@ -0,0 +1,128 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_qt_QtImage__ +#define __gnu_java_awt_peer_qt_QtImage__ + +#pragma interface + +#include <java/awt/Image.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace qt + { + class QMatrix; + class QtComponentPeer; + class QtGraphics; + class QtImage; + class QtImageGraphics; + } + } + } + } + } + namespace java + { + namespace awt + { + class Color; + class Graphics; + class Image; + namespace image + { + class ColorModel; + class ImageObserver; + class ImageProducer; + } + } + namespace net + { + class URL; + } + } +} + +class gnu::java::awt::peer::qt::QtImage : public ::java::awt::Image +{ + +public: + virtual void clear(); +private: + JArray< jint > * getPixels(); + void setPixels(JArray< jint > *); + jboolean loadImage(::java::lang::String *); + jboolean loadImageFromData(JArray< jbyte > *); + void createImage(); + void freeImage(); + void createScaledImage(::gnu::java::awt::peer::qt::QtImage *, jint); +public: // actually package-private + virtual void drawPixels(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jboolean); +private: + void drawPixelsScaled(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jint, jint, jboolean); + void drawPixelsTransformed(::gnu::java::awt::peer::qt::QtGraphics *, ::gnu::java::awt::peer::qt::QMatrix *); +public: // actually package-private + virtual void drawPixelsScaledFlipped(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jboolean, jboolean, jint, jint, jint, jint, jint, jint, jint, jint, jboolean); +public: + QtImage(::java::awt::image::ImageProducer *); + QtImage(::java::net::URL *); + QtImage(::java::lang::String *); + QtImage(JArray< jbyte > *); + QtImage(jint, jint); +private: + QtImage(::gnu::java::awt::peer::qt::QtImage *, jint, jint, jint); +public: + virtual void setImage(jint, jint, JArray< jint > *, ::java::util::Hashtable *); + virtual jint getWidth(::java::awt::image::ImageObserver *); + virtual jint getHeight(::java::awt::image::ImageObserver *); + virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *); + virtual ::java::awt::image::ImageProducer * getSource(); +public: // actually package-private + virtual void putPainter(::gnu::java::awt::peer::qt::QtImageGraphics *); + virtual void removePainter(::gnu::java::awt::peer::qt::QtImageGraphics *); +public: + virtual ::java::awt::Graphics * getGraphics(); +public: // actually package-private + virtual ::java::awt::Graphics * getDirectGraphics(::gnu::java::awt::peer::qt::QtComponentPeer *); +public: + virtual ::java::awt::Image * getScaledInstance(jint, jint, jint); + virtual void flush(); + virtual void finalize(); + virtual void dispose(); + virtual jint checkImage(::java::awt::image::ImageObserver *); + virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, ::gnu::java::awt::peer::qt::QMatrix *, ::java::awt::image::ImageObserver *); + virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *); + virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *); + virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *); + virtual void copyArea(jint, jint, jint, jint, jint, jint); +private: + void deliver(); + jboolean addObserver(::java::awt::image::ImageObserver *); +public: + virtual ::java::lang::String * toString(); +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::awt::Image)))) width; + jint height; + ::java::util::Hashtable * props; + jboolean isLoaded; + jlong nativeObject; + ::java::util::Vector * observers; + jboolean errorLoading; + ::java::awt::image::ImageProducer * source; + static ::java::awt::image::ColorModel * nativeModel; + ::java::util::WeakHashMap * painters; + jboolean killFlag; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_qt_QtImage__ |