1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_image_Raster__
|
5 |
|
|
#define __java_awt_image_Raster__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Point;
|
19 |
|
|
class Rectangle;
|
20 |
|
|
namespace image
|
21 |
|
|
{
|
22 |
|
|
class DataBuffer;
|
23 |
|
|
class Raster;
|
24 |
|
|
class SampleModel;
|
25 |
|
|
class WritableRaster;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
|
31 |
|
|
class java::awt::image::Raster : public ::java::lang::Object
|
32 |
|
|
{
|
33 |
|
|
|
34 |
|
|
public: // actually protected
|
35 |
|
|
Raster(::java::awt::image::SampleModel *, ::java::awt::Point *);
|
36 |
|
|
Raster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Point *);
|
37 |
|
|
Raster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Rectangle *, ::java::awt::Point *, ::java::awt::image::Raster *);
|
38 |
|
|
public:
|
39 |
|
|
static ::java::awt::image::WritableRaster * createInterleavedRaster(jint, jint, jint, jint, ::java::awt::Point *);
|
40 |
|
|
static ::java::awt::image::WritableRaster * createInterleavedRaster(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
|
41 |
|
|
static ::java::awt::image::WritableRaster * createBandedRaster(jint, jint, jint, jint, ::java::awt::Point *);
|
42 |
|
|
static ::java::awt::image::WritableRaster * createBandedRaster(jint, jint, jint, jint, JArray< jint > *, JArray< jint > *, ::java::awt::Point *);
|
43 |
|
|
static ::java::awt::image::WritableRaster * createPackedRaster(jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
|
44 |
|
|
static ::java::awt::image::WritableRaster * createPackedRaster(jint, jint, jint, jint, jint, ::java::awt::Point *);
|
45 |
|
|
static ::java::awt::image::WritableRaster * createInterleavedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
|
46 |
|
|
static ::java::awt::image::WritableRaster * createBandedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, JArray< jint > *, JArray< jint > *, ::java::awt::Point *);
|
47 |
|
|
static ::java::awt::image::WritableRaster * createPackedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
|
48 |
|
|
static ::java::awt::image::WritableRaster * createPackedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, ::java::awt::Point *);
|
49 |
|
|
static ::java::awt::image::Raster * createRaster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Point *);
|
50 |
|
|
static ::java::awt::image::WritableRaster * createWritableRaster(::java::awt::image::SampleModel *, ::java::awt::Point *);
|
51 |
|
|
static ::java::awt::image::WritableRaster * createWritableRaster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Point *);
|
52 |
|
|
virtual ::java::awt::image::Raster * getParent();
|
53 |
|
|
virtual jint getSampleModelTranslateX();
|
54 |
|
|
virtual jint getSampleModelTranslateY();
|
55 |
|
|
virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster();
|
56 |
|
|
virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint);
|
57 |
|
|
virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(::java::awt::Rectangle *);
|
58 |
|
|
virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint, jint, jint);
|
59 |
|
|
virtual ::java::awt::image::Raster * createTranslatedChild(jint, jint);
|
60 |
|
|
virtual ::java::awt::image::Raster * createChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
|
61 |
|
|
virtual ::java::awt::Rectangle * getBounds();
|
62 |
|
|
virtual jint getMinX();
|
63 |
|
|
virtual jint getMinY();
|
64 |
|
|
virtual jint getWidth();
|
65 |
|
|
virtual jint getHeight();
|
66 |
|
|
virtual jint getNumBands();
|
67 |
|
|
virtual jint getNumDataElements();
|
68 |
|
|
virtual jint getTransferType();
|
69 |
|
|
virtual ::java::awt::image::DataBuffer * getDataBuffer();
|
70 |
|
|
virtual ::java::awt::image::SampleModel * getSampleModel();
|
71 |
|
|
virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *);
|
72 |
|
|
virtual ::java::lang::Object * getDataElements(jint, jint, jint, jint, ::java::lang::Object *);
|
73 |
|
|
virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *);
|
74 |
|
|
virtual JArray< jfloat > * getPixel(jint, jint, JArray< jfloat > *);
|
75 |
|
|
virtual JArray< jdouble > * getPixel(jint, jint, JArray< jdouble > *);
|
76 |
|
|
virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *);
|
77 |
|
|
virtual JArray< jfloat > * getPixels(jint, jint, jint, jint, JArray< jfloat > *);
|
78 |
|
|
virtual JArray< jdouble > * getPixels(jint, jint, jint, jint, JArray< jdouble > *);
|
79 |
|
|
virtual jint getSample(jint, jint, jint);
|
80 |
|
|
virtual jfloat getSampleFloat(jint, jint, jint);
|
81 |
|
|
virtual jdouble getSampleDouble(jint, jint, jint);
|
82 |
|
|
virtual JArray< jint > * getSamples(jint, jint, jint, jint, jint, JArray< jint > *);
|
83 |
|
|
virtual JArray< jfloat > * getSamples(jint, jint, jint, jint, jint, JArray< jfloat > *);
|
84 |
|
|
virtual JArray< jdouble > * getSamples(jint, jint, jint, jint, jint, JArray< jdouble > *);
|
85 |
|
|
virtual ::java::lang::String * toString();
|
86 |
|
|
private:
|
87 |
|
|
static jint getTypeBits(jint);
|
88 |
|
|
public: // actually protected
|
89 |
|
|
::java::awt::image::SampleModel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sampleModel;
|
90 |
|
|
::java::awt::image::DataBuffer * dataBuffer;
|
91 |
|
|
jint minX;
|
92 |
|
|
jint minY;
|
93 |
|
|
jint width;
|
94 |
|
|
jint height;
|
95 |
|
|
jint sampleModelTranslateX;
|
96 |
|
|
jint sampleModelTranslateY;
|
97 |
|
|
jint numBands;
|
98 |
|
|
jint numDataElements;
|
99 |
|
|
::java::awt::image::Raster * parent;
|
100 |
|
|
public:
|
101 |
|
|
static ::java::lang::Class class$;
|
102 |
|
|
};
|
103 |
|
|
|
104 |
|
|
#endif // __java_awt_image_Raster__
|