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

#ifndef __java_awt_image_PixelGrabber__
#define __java_awt_image_PixelGrabber__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Image;
      namespace image
      {
          class ColorModel;
          class ImageProducer;
          class PixelGrabber;
      }
    }
  }
}

class java::awt::image::PixelGrabber : public ::java::lang::Object
{

public:
  PixelGrabber(::java::awt::Image *, jint, jint, jint, jint, JArray< jint > *, jint, jint);
  PixelGrabber(::java::awt::image::ImageProducer *, jint, jint, jint, jint, JArray< jint > *, jint, jint);
  PixelGrabber(::java::awt::Image *, jint, jint, jint, jint, jboolean);
  virtual void startGrabbing();
  virtual void abortGrabbing();
  virtual jboolean grabPixels();
  virtual jboolean grabPixels(jlong);
private:
  jboolean setObserverStatus();
public:
  virtual jint getStatus();
  virtual jint getWidth();
  virtual jint getHeight();
  virtual ::java::lang::Object * getPixels();
  virtual ::java::awt::image::ColorModel * getColorModel();
  virtual void setDimensions(jint, jint);
  virtual void setProperties(::java::util::Hashtable *);
  virtual void setColorModel(::java::awt::image::ColorModel *);
  virtual void setHints(jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
  virtual void imageComplete(jint);
  virtual jint status();
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
  jint y;
  jint offset;
  jint width;
  jint height;
  jint scansize;
  jboolean forceRGB;
  ::java::awt::image::ColorModel * model;
  jint hints;
  ::java::util::Hashtable * props;
  JArray< jint > * int_pixel_buffer;
  jboolean ints_delivered;
  JArray< jbyte > * byte_pixel_buffer;
  jboolean bytes_delivered;
  ::java::awt::image::ImageProducer * ip;
  jint observerStatus;
  jint consumerStatus;
private:
  ::java::lang::Thread * grabberThread;
public: // actually package-private
  jboolean grabbing;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_image_PixelGrabber__