From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; 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. --- libjava/gnu/gcj/xlib/XImage.h | 82 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 libjava/gnu/gcj/xlib/XImage.h (limited to 'libjava/gnu/gcj/xlib/XImage.h') diff --git a/libjava/gnu/gcj/xlib/XImage.h b/libjava/gnu/gcj/xlib/XImage.h new file mode 100644 index 000000000..679c60de6 --- /dev/null +++ b/libjava/gnu/gcj/xlib/XImage.h @@ -0,0 +1,82 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_gcj_xlib_XImage__ +#define __gnu_gcj_xlib_XImage__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace gcj + { + class RawData; + namespace xlib + { + class Visual; + class XImage; + } + } + } +} + +class gnu::gcj::xlib::XImage : public ::java::lang::Object +{ + +public: + XImage(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint); + XImage(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint, jint); + virtual void init(::gnu::gcj::xlib::Visual *, jint, jint, jint, jint, jint, jint, jint, jint); +private: + void init(::gnu::gcj::xlib::Visual *, jint, jint); +public: + XImage(::gnu::gcj::xlib::Visual *, jint, jint); + XImage(::gnu::gcj::xlib::Visual *, jint, jint, jboolean); + virtual void setData(JArray< jbyte > *, jint); + virtual void setData(JArray< jshort > *, jint); + virtual void setData(JArray< jint > *, jint); +private: + void internalSetData(JArray< jbyte > *, jint); + void internalSetData(JArray< jshort > *, jint); + void internalSetData(JArray< jint > *, jint); +public: // actually protected + virtual void finalize(); +public: + virtual jint getWidth(); + virtual jint getHeight(); + virtual jint getDepth(); + virtual jint getFormat(); + virtual jboolean isZPixmapFormat(); + virtual jint getXOffset(); + virtual jint getBytesPerLine(); + virtual jint getBitsPerPixel(); + virtual jint getImageByteOrder(); + virtual jint getBitmapBitOrder(); + virtual jint getBitmapUnit(); + virtual jint getBitmapPad(); + virtual jint getRedMask(); + virtual jint getGreenMask(); + virtual jint getBlueMask(); + virtual void setPixel(jint, jint, jint); + virtual ::java::lang::String * toString(); +public: // actually package-private + ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dataRef; +public: + static const jint XYBITMAP_FORMAT = 0; + static const jint XYPIXMAP_FORMAT = 1; + static const jint ZPIXMAP_FORMAT = 2; + static const jint LEAST_SIGNIFICANT_B_FIRST_ORDER = 0; + static const jint MOST_SIGNIFICANT_B_FIRST_ORDER = 1; +public: // actually package-private + jboolean ownsData; + ::gnu::gcj::RawData * structure; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_gcj_xlib_XImage__ -- cgit v1.2.3