summaryrefslogtreecommitdiff
path: root/libjava/javax/imageio/ImageWriteParam.h
blob: 100a3e5f96230b57866a30ad2eaa15b80a9d431a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_imageio_ImageWriteParam__
#define __javax_imageio_ImageWriteParam__

#pragma interface

#include <javax/imageio/IIOParam.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Dimension;
    }
  }
  namespace javax
  {
    namespace imageio
    {
        class ImageWriteParam;
    }
  }
}

class javax::imageio::ImageWriteParam : public ::javax::imageio::IIOParam
{

public: // actually protected
  ImageWriteParam();
public:
  ImageWriteParam(::java::util::Locale *);
  virtual jfloat getBitRate(jfloat);
private:
  void checkSupportsCompression();
  void checkNotExplicitCompression();
  void checkCompressionTypesSet();
  void checkSupportsProgressiveEncoding();
  void checkSupportsTiling();
  void checkNotExplicitTiling();
  void checkTilingInitialized();
  void checkMode(jint);
public:
  virtual jboolean canOffsetTiles();
  virtual jboolean canWriteCompressed();
  virtual jboolean canWriteProgressive();
  virtual jboolean canWriteTiles();
  virtual jint getCompressionMode();
  virtual jfloat getCompressionQuality();
  virtual JArray< ::java::lang::String * > * getCompressionQualityDescriptions();
  virtual JArray< jfloat > * getCompressionQualityValues();
  virtual ::java::lang::String * getCompressionType();
  virtual JArray< ::java::lang::String * > * getCompressionTypes();
  virtual ::java::util::Locale * getLocale();
  virtual ::java::lang::String * getLocalizedCompressionTypeName();
  virtual JArray< ::java::awt::Dimension * > * getPreferredTileSizes();
  virtual jint getProgressiveMode();
  virtual jint getTileGridXOffset();
  virtual jint getTileGridYOffset();
  virtual jint getTileHeight();
  virtual jint getTileWidth();
  virtual jint getTilingMode();
  virtual jboolean isCompressionLossless();
  virtual void setCompressionMode(jint);
  virtual void setCompressionQuality(jfloat);
  virtual void setCompressionType(::java::lang::String *);
  virtual void setProgressiveMode(jint);
  virtual void setTiling(jint, jint, jint, jint);
  virtual void setTilingMode(jint);
  virtual void unsetCompression();
  virtual void unsetTiling();
  static const jint MODE_DISABLED = 0;
  static const jint MODE_DEFAULT = 1;
  static const jint MODE_EXPLICIT = 2;
  static const jint MODE_COPY_FROM_METADATA = 3;
public: // actually protected
  jboolean __attribute__((aligned(__alignof__( ::javax::imageio::IIOParam)))) canOffsetTiles__;
  jboolean canWriteCompressed__;
  jboolean canWriteProgressive__;
  jboolean canWriteTiles__;
  jint compressionMode;
  jfloat compressionQuality;
  ::java::lang::String * compressionType;
  JArray< ::java::lang::String * > * compressionTypes;
  ::java::util::Locale * locale;
  JArray< ::java::awt::Dimension * > * preferredTileSizes;
  jint progressiveMode;
  jint tileGridXOffset;
  jint tileGridYOffset;
  jint tileHeight;
  jint tileWidth;
  jint tilingMode;
  jboolean tilingSet;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_imageio_ImageWriteParam__