PNGEncoder.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_png_PNGEncoder__
  3. #define __gnu_javax_imageio_png_PNGEncoder__
  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 png
  16. {
  17. class PNGEncoder;
  18. class PNGHeader;
  19. class PNGICCProfile;
  20. class PNGPalette;
  21. }
  22. }
  23. }
  24. }
  25. namespace java
  26. {
  27. namespace awt
  28. {
  29. namespace image
  30. {
  31. class BufferedImage;
  32. }
  33. }
  34. }
  35. }
  36. class gnu::javax::imageio::png::PNGEncoder : public ::java::lang::Object
  37. {
  38. public:
  39. PNGEncoder(::java::awt::image::BufferedImage *);
  40. virtual ::gnu::javax::imageio::png::PNGHeader * getHeader();
  41. virtual ::gnu::javax::imageio::png::PNGPalette * getPalette();
  42. virtual ::gnu::javax::imageio::png::PNGICCProfile * getProfile();
  43. virtual ::java::util::Vector * encodeImage();
  44. private:
  45. void getRawData(::java::awt::image::BufferedImage *);
  46. static const jint defaultChunkSize = 8192;
  47. ::gnu::javax::imageio::png::PNGHeader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) header;
  48. ::gnu::javax::imageio::png::PNGPalette * palette;
  49. jint stride;
  50. jint bpp;
  51. JArray< jbyte > * rawData;
  52. ::gnu::javax::imageio::png::PNGICCProfile * profile;
  53. public:
  54. static ::java::lang::Class class$;
  55. };
  56. #endif // __gnu_javax_imageio_png_PNGEncoder__