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

#ifndef __java_awt_Image__
#define __java_awt_Image__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Graphics;
        class Image;
      namespace image
      {
          class ImageObserver;
          class ImageProducer;
      }
    }
  }
}

class java::awt::Image : public ::java::lang::Object
{

public:
  Image();
  virtual jint getWidth(::java::awt::image::ImageObserver *) = 0;
  virtual jint getHeight(::java::awt::image::ImageObserver *) = 0;
  virtual ::java::awt::image::ImageProducer * getSource() = 0;
  virtual ::java::awt::Graphics * getGraphics() = 0;
  virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *) = 0;
  virtual ::java::awt::Image * getScaledInstance(jint, jint, jint);
  virtual void flush() = 0;
  virtual void setAccelerationPriority(jfloat);
  virtual jfloat getAccelerationPriority();
  static ::java::lang::Object * UndefinedProperty;
  static const jint SCALE_DEFAULT = 1;
  static const jint SCALE_FAST = 2;
  static const jint SCALE_SMOOTH = 4;
  static const jint SCALE_REPLICATE = 8;
  static const jint SCALE_AREA_AVERAGING = 16;
public: // actually protected
  jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) accelerationPriority;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_Image__