summaryrefslogtreecommitdiff
path: root/libjava/java/awt/image/VolatileImage.h
blob: ed289286350debae1e7abaf9e4af6621c5b7c518 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_image_VolatileImage__
#define __java_awt_image_VolatileImage__

#pragma interface

#include <java/awt/Image.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Graphics;
        class Graphics2D;
        class GraphicsConfiguration;
        class ImageCapabilities;
      namespace image
      {
          class BufferedImage;
          class ImageProducer;
          class VolatileImage;
      }
    }
  }
}

class java::awt::image::VolatileImage : public ::java::awt::Image
{

public:
  VolatileImage();
  virtual ::java::awt::image::BufferedImage * getSnapshot() = 0;
  virtual jint getWidth() = 0;
  virtual jint getHeight() = 0;
  virtual ::java::awt::image::ImageProducer * getSource();
  virtual void flush();
  virtual ::java::awt::Graphics * getGraphics();
  virtual ::java::awt::Graphics2D * createGraphics() = 0;
  virtual jint validate(::java::awt::GraphicsConfiguration *) = 0;
  virtual jboolean contentsLost() = 0;
  virtual ::java::awt::ImageCapabilities * getCapabilities() = 0;
  virtual jint getTransparency();
  static const jint IMAGE_OK = 0;
  static const jint IMAGE_RESTORED = 1;
  static const jint IMAGE_INCOMPATIBLE = 2;
public: // actually protected
  jint __attribute__((aligned(__alignof__( ::java::awt::Image)))) transparency;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_image_VolatileImage__