summaryrefslogtreecommitdiff
path: root/libjava/gnu/awt/xlib/XOffScreenImage.h
blob: 73ca8bfbc3257a01a4e205753d68af3dfee32fd4 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_awt_xlib_XOffScreenImage__
#define __gnu_awt_xlib_XOffScreenImage__

#pragma interface

#include <java/awt/Image.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace awt
    {
      namespace xlib
      {
          class XGraphicsConfiguration;
          class XOffScreenImage;
      }
    }
    namespace gcj
    {
      namespace xlib
      {
          class Drawable;
          class GC;
          class Pixmap;
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Graphics;
        class GraphicsConfiguration;
      namespace image
      {
          class ColorModel;
          class ImageObserver;
          class ImageProducer;
      }
    }
  }
}

class gnu::awt::xlib::XOffScreenImage : public ::java::awt::Image
{

public: // actually package-private
  XOffScreenImage(::gnu::awt::xlib::XGraphicsConfiguration *, ::gnu::gcj::xlib::Drawable *, jint, jint, ::java::awt::image::ColorModel *);
  XOffScreenImage(::gnu::awt::xlib::XGraphicsConfiguration *, ::gnu::gcj::xlib::Drawable *, ::java::awt::image::ImageProducer *, ::java::awt::image::ColorModel *);
public:
  virtual ::gnu::gcj::xlib::Pixmap * getPixmap();
  virtual void flush();
  virtual ::java::awt::Graphics * getGraphics();
  virtual jint getHeight(::java::awt::image::ImageObserver *);
  virtual jint getHeight();
  virtual ::java::awt::image::ImageProducer * getSource();
  virtual jint getWidth(::java::awt::image::ImageObserver *);
  virtual jint getWidth();
  virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
  virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
  virtual void imageComplete(jint);
  virtual void setColorModel(::java::awt::image::ColorModel *);
  virtual void setDimensions(jint, jint);
  virtual void setHints(jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  virtual void setProperties(::java::util::Hashtable *);
private:
  ::gnu::gcj::xlib::Pixmap * __attribute__((aligned(__alignof__( ::java::awt::Image)))) pixmap;
  ::gnu::awt::xlib::XGraphicsConfiguration * config;
  jint width;
  jint height;
  ::gnu::gcj::xlib::Drawable * drawable;
  ::java::awt::image::ImageProducer * prod;
  ::gnu::gcj::xlib::GC * gc;
  ::java::awt::image::ColorModel * pixmapColorModel;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_awt_xlib_XOffScreenImage__