2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_javax_imageio_bmp_BMPInfoHeader__
5 #define __gnu_javax_imageio_bmp_BMPInfoHeader__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
39 class ImageWriteParam
;
42 class ImageInputStream
;
43 class ImageOutputStream
;
49 class gnu::javax::imageio::bmp::BMPInfoHeader
: public ::java::lang::Object
53 BMPInfoHeader(::javax::imageio::stream::ImageInputStream
*);
54 BMPInfoHeader(::javax::imageio::stream::ImageOutputStream
*, ::javax::imageio::IIOImage
*, ::javax::imageio::ImageWriteParam
*);
56 JArray
< jbyte
> * intToWord(jint
);
57 JArray
< jbyte
> * intToDWord(jint
);
59 virtual void setBitCount(jshort
);
60 virtual jshort
getBitCount();
61 virtual void setCompression(jint
);
62 virtual jint
getNumberOfPaletteEntries();
63 virtual jint
getCompression();
64 virtual ::java::awt::Dimension
* getSize();
65 virtual jint
getWidth();
66 virtual jint
getHeight();
67 virtual void setSize(::java::awt::Dimension
*);
68 public: // actually protected
69 jint
__attribute__((aligned(__alignof__( ::java::lang::Object
)))) biSize
;
81 static const jint SIZE
= 40;
82 static const jint BI_RGB
= 0;
83 static const jint BI_RLE8
= 1;
84 static const jint BI_RLE4
= 2;
85 static const jint BI_BITFIELDS
= 3;
86 static ::java::lang::Class
class$
;
89 #endif // __gnu_javax_imageio_bmp_BMPInfoHeader__