1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_image_SinglePixelPackedSampleModel__
|
5 |
|
|
#define __java_awt_image_SinglePixelPackedSampleModel__
|
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 DataBuffer;
|
21 |
|
|
class SampleModel;
|
22 |
|
|
class SinglePixelPackedSampleModel;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
class java::awt::image::SinglePixelPackedSampleModel : public ::java::awt::image::SampleModel
|
29 |
|
|
{
|
30 |
|
|
|
31 |
|
|
public:
|
32 |
|
|
SinglePixelPackedSampleModel(jint, jint, jint, JArray< jint > *);
|
33 |
|
|
SinglePixelPackedSampleModel(jint, jint, jint, jint, JArray< jint > *);
|
34 |
|
|
virtual jint getNumDataElements();
|
35 |
|
|
virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
|
36 |
|
|
virtual ::java::awt::image::DataBuffer * createDataBuffer();
|
37 |
|
|
virtual JArray< jint > * getSampleSize();
|
38 |
|
|
virtual jint getSampleSize(jint);
|
39 |
|
|
virtual jint getOffset(jint, jint);
|
40 |
|
|
virtual JArray< jint > * getBitOffsets();
|
41 |
|
|
virtual JArray< jint > * getBitMasks();
|
42 |
|
|
virtual jint getScanlineStride();
|
43 |
|
|
virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
|
44 |
|
|
virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
45 |
|
|
virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
46 |
|
|
virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
47 |
|
|
virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
|
48 |
|
|
virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
49 |
|
|
virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
50 |
|
|
virtual void setPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
51 |
|
|
virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
|
52 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
53 |
|
|
virtual jint hashCode();
|
54 |
|
|
virtual ::java::lang::String * toString();
|
55 |
|
|
private:
|
56 |
|
|
jint __attribute__((aligned(__alignof__( ::java::awt::image::SampleModel)))) scanlineStride;
|
57 |
|
|
JArray< jint > * bitMasks;
|
58 |
|
|
JArray< jint > * bitOffsets;
|
59 |
|
|
JArray< jint > * sampleSize;
|
60 |
|
|
public:
|
61 |
|
|
static ::java::lang::Class class$;
|
62 |
|
|
};
|
63 |
|
|
|
64 |
|
|
#endif // __java_awt_image_SinglePixelPackedSampleModel__
|