BMPInfoHeader.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_bmp_BMPInfoHeader__
  3. #define __gnu_javax_imageio_bmp_BMPInfoHeader__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace imageio
  14. {
  15. namespace bmp
  16. {
  17. class BMPInfoHeader;
  18. }
  19. }
  20. }
  21. }
  22. namespace java
  23. {
  24. namespace awt
  25. {
  26. class Dimension;
  27. }
  28. }
  29. namespace javax
  30. {
  31. namespace imageio
  32. {
  33. class IIOImage;
  34. class ImageWriteParam;
  35. namespace stream
  36. {
  37. class ImageInputStream;
  38. class ImageOutputStream;
  39. }
  40. }
  41. }
  42. }
  43. class gnu::javax::imageio::bmp::BMPInfoHeader : public ::java::lang::Object
  44. {
  45. public:
  46. BMPInfoHeader(::javax::imageio::stream::ImageInputStream *);
  47. BMPInfoHeader(::javax::imageio::stream::ImageOutputStream *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
  48. private:
  49. JArray< jbyte > * intToWord(jint);
  50. JArray< jbyte > * intToDWord(jint);
  51. public:
  52. virtual void setBitCount(jshort);
  53. virtual jshort getBitCount();
  54. virtual void setCompression(jint);
  55. virtual jint getNumberOfPaletteEntries();
  56. virtual jint getCompression();
  57. virtual ::java::awt::Dimension * getSize();
  58. virtual jint getWidth();
  59. virtual jint getHeight();
  60. virtual void setSize(::java::awt::Dimension *);
  61. public: // actually protected
  62. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) biSize;
  63. jint biWidth;
  64. jint biHeight;
  65. jshort biPlanes;
  66. jshort biBitCount;
  67. jint biCompression;
  68. jint biSizeImage;
  69. jint biXPelsPerMeter;
  70. jint biYPelsPerMeter;
  71. jint biClrUsed;
  72. jint biClrImportant;
  73. public:
  74. static const jint SIZE = 40;
  75. static const jint BI_RGB = 0;
  76. static const jint BI_RLE8 = 1;
  77. static const jint BI_RLE4 = 2;
  78. static const jint BI_BITFIELDS = 3;
  79. static ::java::lang::Class class$;
  80. };
  81. #endif // __gnu_javax_imageio_bmp_BMPInfoHeader__