ImageTypeSpecifier.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_imageio_ImageTypeSpecifier__
  3. #define __javax_imageio_ImageTypeSpecifier__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. namespace color
  14. {
  15. class ColorSpace;
  16. }
  17. namespace image
  18. {
  19. class BufferedImage;
  20. class ColorModel;
  21. class RenderedImage;
  22. class SampleModel;
  23. }
  24. }
  25. }
  26. namespace javax
  27. {
  28. namespace imageio
  29. {
  30. class ImageTypeSpecifier;
  31. }
  32. }
  33. }
  34. class javax::imageio::ImageTypeSpecifier : public ::java::lang::Object
  35. {
  36. public:
  37. ImageTypeSpecifier(::java::awt::image::ColorModel *, ::java::awt::image::SampleModel *);
  38. ImageTypeSpecifier(::java::awt::image::RenderedImage *);
  39. static ::javax::imageio::ImageTypeSpecifier * createBanded(::java::awt::color::ColorSpace *, JArray< jint > *, JArray< jint > *, jint, jboolean, jboolean);
  40. virtual ::java::awt::image::BufferedImage * createBufferedImage(jint, jint);
  41. static ::javax::imageio::ImageTypeSpecifier * createFromBufferedImageType(jint);
  42. static ::javax::imageio::ImageTypeSpecifier * createFromRenderedImage(::java::awt::image::RenderedImage *);
  43. static ::javax::imageio::ImageTypeSpecifier * createGrayscale(jint, jint, jboolean);
  44. static ::javax::imageio::ImageTypeSpecifier * createGrayscale(jint, jint, jboolean, jboolean);
  45. static ::javax::imageio::ImageTypeSpecifier * createIndexed(JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, jint, jint);
  46. static ::javax::imageio::ImageTypeSpecifier * createInterleaved(::java::awt::color::ColorSpace *, JArray< jint > *, jint, jboolean, jboolean);
  47. static ::javax::imageio::ImageTypeSpecifier * createPacked(::java::awt::color::ColorSpace *, jint, jint, jint, jint, jint, jboolean);
  48. virtual jint getBitsPerBand(jint);
  49. virtual jint getBufferedImageType();
  50. virtual ::java::awt::image::SampleModel * getSampleModel(jint, jint);
  51. virtual ::java::awt::image::ColorModel * getColorModel();
  52. virtual jint getNumBands();
  53. virtual jint getNumComponents();
  54. virtual ::java::awt::image::SampleModel * getSampleModel();
  55. public: // actually protected
  56. ::java::awt::image::ColorModel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) colorModel;
  57. ::java::awt::image::SampleModel * sampleModel;
  58. public:
  59. static ::java::lang::Class class$;
  60. };
  61. #endif // __javax_imageio_ImageTypeSpecifier__