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
103
104
105
106
107
108
109
110
111
112
113
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_awt_peer_gtk_GtkImage__
#define __gnu_java_awt_peer_gtk_GtkImage__
#pragma interface
#include <java/awt/Image.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace classpath
{
class Pointer;
}
namespace java
{
namespace awt
{
namespace peer
{
namespace gtk
{
class GtkImage;
}
}
}
}
}
namespace java
{
namespace awt
{
class Graphics;
class Image;
namespace image
{
class ColorModel;
class ImageObserver;
class ImageProducer;
}
}
namespace net
{
class URL;
}
}
}
class gnu::java::awt::peer::gtk::GtkImage : public ::java::awt::Image
{
void initFromBuffer(jlong);
public: // actually package-private
virtual JArray< jint > * getPixels();
private:
void setPixels(JArray< jint > *);
jboolean loadPixbuf(::java::lang::String *);
jboolean loadImageFromData(JArray< jbyte > *);
void createPixbuf();
void freePixbuf();
void createScaledPixbuf(::gnu::java::awt::peer::gtk::GtkImage *, jint);
public:
GtkImage(::java::awt::image::ImageProducer *);
GtkImage();
GtkImage(::java::lang::String *);
GtkImage(JArray< jbyte > *);
GtkImage(::java::net::URL *);
private:
GtkImage(::gnu::java::awt::peer::gtk::GtkImage *, jint, jint, jint);
public: // actually package-private
GtkImage(::gnu::classpath::Pointer *);
GtkImage(jint, jint, jlong);
static ::gnu::java::awt::peer::gtk::GtkImage * getErrorImage();
private:
void createFromPixbuf();
public:
virtual void setImage(jint, jint, JArray< jint > *, ::java::util::Hashtable *);
virtual jint getWidth(::java::awt::image::ImageObserver *);
virtual jint getHeight(::java::awt::image::ImageObserver *);
virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
virtual ::java::awt::image::ImageProducer * getSource();
virtual ::java::awt::Graphics * getGraphics();
virtual ::java::awt::Image * getScaledInstance(jint, jint, jint);
virtual void flush();
virtual void finalize();
virtual jint checkImage(::java::awt::image::ImageObserver *);
private:
void deliver();
jboolean addObserver(::java::awt::image::ImageObserver *);
public: // actually package-private
jint __attribute__((aligned(__alignof__( ::java::awt::Image)))) width;
jint height;
::java::util::Hashtable * props;
jboolean isLoaded;
::gnu::classpath::Pointer * pixbuf;
::java::util::Vector * observers;
jboolean errorLoading;
::java::awt::image::ImageProducer * source;
static ::java::awt::image::ColorModel * nativeModel;
private:
static ::gnu::java::awt::peer::gtk::GtkImage * errorImage;
public: // actually package-private
static ::java::lang::Object * pixbufLock;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_awt_peer_gtk_GtkImage__
|