gcc/libjava/java/awt/image/MultiPixelPackedSampleModel.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

69 lines
2.3 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_awt_image_MultiPixelPackedSampleModel__
#define __java_awt_image_MultiPixelPackedSampleModel__
#pragma interface
#include <java/awt/image/SampleModel.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
namespace image
{
class DataBuffer;
class MultiPixelPackedSampleModel;
class SampleModel;
}
}
}
}
class java::awt::image::MultiPixelPackedSampleModel : public ::java::awt::image::SampleModel
{
public:
MultiPixelPackedSampleModel(jint, jint, jint, jint);
MultiPixelPackedSampleModel(jint, jint, jint, jint, jint, jint);
virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
virtual ::java::awt::image::DataBuffer * createDataBuffer();
virtual jint getNumDataElements();
virtual JArray< jint > * getSampleSize();
virtual jint getSampleSize(jint);
virtual jint getOffset(jint, jint);
virtual jint getBitOffset(jint);
virtual jint getDataBitOffset();
virtual jint getScanlineStride();
virtual jint getPixelBitStride();
virtual jint getTransferType();
virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
virtual jboolean equals(::java::lang::Object *);
virtual jint hashCode();
virtual ::java::lang::String * toString();
private:
jint __attribute__((aligned(__alignof__( ::java::awt::image::SampleModel)))) scanlineStride;
JArray< jint > * bitMasks;
JArray< jint > * bitOffsets;
JArray< jint > * sampleSize;
jint dataBitOffset;
jint elemBits;
jint numberOfBits;
jint numElems;
public:
static ::java::lang::Class class$;
};
#endif // __java_awt_image_MultiPixelPackedSampleModel__