1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_image_ComponentSampleModel__
|
5 |
|
|
#define __java_awt_image_ComponentSampleModel__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/image/SampleModel.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 ComponentSampleModel;
|
21 |
|
|
class DataBuffer;
|
22 |
|
|
class SampleModel;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
class java::awt::image::ComponentSampleModel : public ::java::awt::image::SampleModel
|
29 |
|
|
{
|
30 |
|
|
|
31 |
|
|
public:
|
32 |
|
|
ComponentSampleModel(jint, jint, jint, jint, jint, JArray< jint > *);
|
33 |
|
|
ComponentSampleModel(jint, jint, jint, jint, jint, JArray< jint > *, JArray< jint > *);
|
34 |
|
|
virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
|
35 |
|
|
virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
|
36 |
|
|
virtual ::java::awt::image::DataBuffer * createDataBuffer();
|
37 |
|
|
virtual jint getOffset(jint, jint);
|
38 |
|
|
virtual jint getOffset(jint, jint, jint);
|
39 |
|
|
virtual JArray< jint > * getSampleSize();
|
40 |
|
|
virtual jint getSampleSize(jint);
|
41 |
|
|
virtual JArray< jint > * getBankIndices();
|
42 |
|
|
virtual JArray< jint > * getBandOffsets();
|
43 |
|
|
virtual jint getScanlineStride();
|
44 |
|
|
virtual jint getPixelStride();
|
45 |
|
|
virtual jint getNumDataElements();
|
46 |
|
|
virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
47 |
|
|
virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
48 |
|
|
virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
49 |
|
|
virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
|
50 |
|
|
virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
51 |
|
|
virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
52 |
|
|
virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
|
53 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
54 |
|
|
virtual jint hashCode();
|
55 |
|
|
public: // actually protected
|
56 |
|
|
JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::image::SampleModel)))) bandOffsets;
|
57 |
|
|
JArray< jint > * bankIndices;
|
58 |
|
|
jint numBands;
|
59 |
|
|
jint numBanks;
|
60 |
|
|
jint scanlineStride;
|
61 |
|
|
jint pixelStride;
|
62 |
|
|
public:
|
63 |
|
|
static ::java::lang::Class class$;
|
64 |
|
|
};
|
65 |
|
|
|
66 |
|
|
#endif // __java_awt_image_ComponentSampleModel__
|