gcc/libjava/gnu/java/awt/image/ImageConverter.h
Matthias Klose e0441a5bfb Import GNU Classpath (classpath-0_97_2-release).
libjava/

2008-06-28  Matthias Klose  <doko@ubuntu.com>

        Import GNU Classpath (classpath-0_97_2-release).

        * Regenerate class and header files.
        * Regenerate auto* files.
        * gcj/javaprims.h: Define jobjectRefType.
        * jni.cc (_Jv_JNI_GetObjectRefType): New (stub only).
        (_Jv_JNIFunctions): Initialize GetObjectRefType.
        * gnu/classpath/jdwp/VMVirtualMachine.java,
        java/security/VMSecureRandom.java: Merge from classpath.
        * HACKING: Fix typo.
        * ChangeLog-2007: New file.
        * configure.ac: Set JAVAC, pass --disable-regen-headers to classpath.

libjava/classpath/

2008-06-28  Matthias Klose  <doko@ubuntu.com>

        * m4/ac_prog_javac.m4: Disable check for JAVAC, when
        not configured with --enable-java-maintainer-mode.
        * aclocal.m4, configure: Regenerate.
        * native/jni/gstreamer-peer/Makefile.am: Do not link with
        libclasspathnative.
        * native/jni/gstreamer-peer/Makefile.in: Regenerate.
        * tools/Makefile.am, lib/Makefile.am: Use JAVAC for setting
        JCOMPILER, drop flags not understood by gcj.

From-SVN: r137223
2008-06-28 13:29:13 +00:00

83 lines
2.7 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_awt_image_ImageConverter__
#define __gnu_java_awt_image_ImageConverter__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace awt
{
namespace image
{
class AsyncImage;
class ImageConverter;
}
}
}
}
namespace java
{
namespace awt
{
class Image;
namespace image
{
class BufferedImage;
class ColorModel;
class IndexColorModel;
}
}
}
}
class gnu::java::awt::image::ImageConverter : public ::java::lang::Object
{
public:
ImageConverter();
virtual void setDimensions(jint, jint);
virtual void setProperties(::java::util::Hashtable *);
virtual void setColorModel(::java::awt::image::ColorModel *);
virtual void setHints(jint);
virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
private:
::java::awt::image::ColorModel * setupColorModel(::java::awt::image::ColorModel *);
void createImage();
jint transferPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, jint);
jint transferPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, jint);
jint convertPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, jint);
jint convertPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, jint);
jint convertIndexColorModelToSRGB(jint, jint, jint, jint, ::java::awt::image::IndexColorModel *, JArray< jbyte > *, jint, jint, jint);
jint convertIndexColorModelToSRGB(jint, jint, jint, jint, ::java::awt::image::IndexColorModel *, JArray< jint > *, jint, jint, jint);
jint updateTransparency(jint, jint);
public:
virtual void imageComplete(jint);
virtual void setTargetColorModel(::java::awt::image::ColorModel *);
virtual ::java::awt::Image * getImage();
static ::java::lang::String * IMAGE_TRANSPARENCY_PROPERTY;
static ::java::lang::String * IMAGE_PROPERTIES_PROPERTY;
private:
::gnu::java::awt::image::AsyncImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) image;
::java::awt::image::BufferedImage * bImage;
::java::util::Hashtable * imageProperties;
jint width;
jint height;
::java::awt::image::ColorModel * colorModel;
::java::awt::image::ColorModel * targetColorModel;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_awt_image_ImageConverter__