diff options
Diffstat (limited to 'libjava/gnu/java/awt/peer/gtk/CairoSurface.h')
-rw-r--r-- | libjava/gnu/java/awt/peer/gtk/CairoSurface.h | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/peer/gtk/CairoSurface.h b/libjava/gnu/java/awt/peer/gtk/CairoSurface.h new file mode 100644 index 00000000000..bc33bdb6391 --- /dev/null +++ b/libjava/gnu/java/awt/peer/gtk/CairoSurface.h @@ -0,0 +1,104 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_gtk_CairoSurface__ +#define __gnu_java_awt_peer_gtk_CairoSurface__ + +#pragma interface + +#include <java/awt/image/WritableRaster.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace gtk + { + class CairoSurface; + class GtkImage; + } + } + } + } + } + namespace java + { + namespace awt + { + class Graphics2D; + namespace image + { + class BufferedImage; + class ColorModel; + class SampleModel; + } + } + } +} + +class gnu::java::awt::peer::gtk::CairoSurface : public ::java::awt::image::WritableRaster +{ + + void create(jint, jint, jint); + void destroy(jlong, jlong); + jint nativeGetElem(jlong, jint); + void nativeSetElem(jlong, jint, jint); +public: + virtual void nativeDrawSurface(jlong, jlong, JArray< jdouble > *, jdouble, jint); + virtual void drawSurface(jlong, JArray< jdouble > *, jdouble, jint); +public: // actually package-private + virtual JArray< jint > * nativeGetPixels(jlong, jint); +public: + virtual JArray< jint > * getPixels(jint); +public: // actually package-private + virtual void nativeSetPixels(jlong, JArray< jint > *); +public: + virtual void setPixels(JArray< jint > *); +public: // actually package-private + virtual jlong getFlippedBuffer(jlong, jint); +public: + CairoSurface(jint, jint); +public: // actually package-private + CairoSurface(::gnu::java::awt::peer::gtk::GtkImage *); +public: + virtual void dispose(); +public: // actually protected + virtual void finalize(); +public: + virtual ::gnu::java::awt::peer::gtk::GtkImage * getGtkImage(); + static ::java::awt::image::BufferedImage * getBufferedImage(jint, jint); + static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::GtkImage *); + static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::CairoSurface *); + virtual ::java::awt::Graphics2D * getGraphics(); +public: // actually package-private + virtual jlong nativeNewCairoContext(jlong); +public: + virtual jlong newCairoContext(); +public: // actually package-private + virtual void copyAreaNative2(jlong, jint, jint, jint, jint, jint, jint, jint); +public: + virtual void copyAreaNative(jint, jint, jint, jint, jint, jint, jint); +public: // actually protected + static ::java::awt::image::SampleModel * createCairoSampleModel(jint, jint); +public: // actually package-private + static jint access$0(::gnu::java::awt::peer::gtk::CairoSurface *, jlong, jint); + static void access$1(::gnu::java::awt::peer::gtk::CairoSurface *, jlong, jint, jint); + jint __attribute__((aligned(__alignof__( ::java::awt::image::WritableRaster)))) width; + jint height; + jlong surfacePointer; + jlong bufferPointer; + static ::java::awt::image::ColorModel * cairoColorModel; + static ::java::awt::image::ColorModel * cairoCM_pre; + static ::java::awt::image::ColorModel * cairoCM_opaque; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_gtk_CairoSurface__ |