ImageWriteParam.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_imageio_ImageWriteParam__
  3. #define __javax_imageio_ImageWriteParam__
  4. #pragma interface
  5. #include <javax/imageio/IIOParam.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Dimension;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace imageio
  19. {
  20. class ImageWriteParam;
  21. }
  22. }
  23. }
  24. class javax::imageio::ImageWriteParam : public ::javax::imageio::IIOParam
  25. {
  26. public: // actually protected
  27. ImageWriteParam();
  28. public:
  29. ImageWriteParam(::java::util::Locale *);
  30. virtual jfloat getBitRate(jfloat);
  31. private:
  32. void checkSupportsCompression();
  33. void checkNotExplicitCompression();
  34. void checkCompressionTypesSet();
  35. void checkSupportsProgressiveEncoding();
  36. void checkSupportsTiling();
  37. void checkNotExplicitTiling();
  38. void checkTilingInitialized();
  39. void checkMode(jint);
  40. public:
  41. virtual jboolean canOffsetTiles();
  42. virtual jboolean canWriteCompressed();
  43. virtual jboolean canWriteProgressive();
  44. virtual jboolean canWriteTiles();
  45. virtual jint getCompressionMode();
  46. virtual jfloat getCompressionQuality();
  47. virtual JArray< ::java::lang::String * > * getCompressionQualityDescriptions();
  48. virtual JArray< jfloat > * getCompressionQualityValues();
  49. virtual ::java::lang::String * getCompressionType();
  50. virtual JArray< ::java::lang::String * > * getCompressionTypes();
  51. virtual ::java::util::Locale * getLocale();
  52. virtual ::java::lang::String * getLocalizedCompressionTypeName();
  53. virtual JArray< ::java::awt::Dimension * > * getPreferredTileSizes();
  54. virtual jint getProgressiveMode();
  55. virtual jint getTileGridXOffset();
  56. virtual jint getTileGridYOffset();
  57. virtual jint getTileHeight();
  58. virtual jint getTileWidth();
  59. virtual jint getTilingMode();
  60. virtual jboolean isCompressionLossless();
  61. virtual void setCompressionMode(jint);
  62. virtual void setCompressionQuality(jfloat);
  63. virtual void setCompressionType(::java::lang::String *);
  64. virtual void setProgressiveMode(jint);
  65. virtual void setTiling(jint, jint, jint, jint);
  66. virtual void setTilingMode(jint);
  67. virtual void unsetCompression();
  68. virtual void unsetTiling();
  69. static const jint MODE_DISABLED = 0;
  70. static const jint MODE_DEFAULT = 1;
  71. static const jint MODE_EXPLICIT = 2;
  72. static const jint MODE_COPY_FROM_METADATA = 3;
  73. public: // actually protected
  74. jboolean __attribute__((aligned(__alignof__( ::javax::imageio::IIOParam)))) canOffsetTiles__;
  75. jboolean canWriteCompressed__;
  76. jboolean canWriteProgressive__;
  77. jboolean canWriteTiles__;
  78. jint compressionMode;
  79. jfloat compressionQuality;
  80. ::java::lang::String * compressionType;
  81. JArray< ::java::lang::String * > * compressionTypes;
  82. ::java::util::Locale * locale;
  83. JArray< ::java::awt::Dimension * > * preferredTileSizes;
  84. jint progressiveMode;
  85. jint tileGridXOffset;
  86. jint tileGridYOffset;
  87. jint tileHeight;
  88. jint tileWidth;
  89. jint tilingMode;
  90. jboolean tilingSet;
  91. public:
  92. static ::java::lang::Class class$;
  93. };
  94. #endif // __javax_imageio_ImageWriteParam__