1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_image_BandedSampleModel__
|
5 |
|
|
#define __java_awt_image_BandedSampleModel__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/image/ComponentSampleModel.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace image
|
19 |
|
|
{
|
20 |
|
|
class BandedSampleModel;
|
21 |
|
|
class DataBuffer;
|
22 |
|
|
class SampleModel;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
class java::awt::image::BandedSampleModel : public ::java::awt::image::ComponentSampleModel
|
29 |
|
|
{
|
30 |
|
|
|
31 |
|
|
static JArray< jint > * createBankArray(jint);
|
32 |
|
|
public:
|
33 |
|
|
BandedSampleModel(jint, jint, jint, jint);
|
34 |
|
|
BandedSampleModel(jint, jint, jint, jint, JArray< jint > *, JArray< jint > *);
|
35 |
|
|
::java::awt::image::DataBuffer * createDataBuffer();
|
36 |
|
|
::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
|
37 |
|
|
::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
|
38 |
|
|
::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
39 |
|
|
JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
40 |
|
|
JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
41 |
|
|
jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
|
42 |
|
|
jfloat getSampleFloat(jint, jint, jint, ::java::awt::image::DataBuffer *);
|
43 |
|
|
jdouble getSampleDouble(jint, jint, jint, ::java::awt::image::DataBuffer *);
|
44 |
|
|
JArray< jint > * getSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
45 |
|
|
void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
46 |
|
|
void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
47 |
|
|
void setPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
48 |
|
|
void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
|
49 |
|
|
void setSample(jint, jint, jint, jfloat, ::java::awt::image::DataBuffer *);
|
50 |
|
|
void setSample(jint, jint, jint, jdouble, ::java::awt::image::DataBuffer *);
|
51 |
|
|
void setSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
52 |
|
|
::java::lang::String * toString();
|
53 |
|
|
private:
|
54 |
|
|
JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::image::ComponentSampleModel)))) bitMasks;
|
55 |
|
|
JArray< jint > * bitOffsets;
|
56 |
|
|
JArray< jint > * sampleSize;
|
57 |
|
|
jint dataBitOffset;
|
58 |
|
|
jint elemBits;
|
59 |
|
|
jint numberOfBits;
|
60 |
|
|
jint numElems;
|
61 |
|
|
public:
|
62 |
|
|
static ::java::lang::Class class$;
|
63 |
|
|
};
|
64 |
|
|
|
65 |
|
|
#endif // __java_awt_image_BandedSampleModel__
|