blob: b7f53eff9e9881331a04d829ae89aad4059651b8 (
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_awt_xlib_XGraphicsConfiguration__
#define __gnu_awt_xlib_XGraphicsConfiguration__
#pragma interface
#include <java/awt/GraphicsConfiguration.h>
extern "Java"
{
namespace gnu
{
namespace awt
{
namespace xlib
{
class XFontMetrics;
class XGraphicsConfiguration;
class XGraphicsConfiguration$FontMetricsCache;
}
}
namespace gcj
{
namespace xlib
{
class Colormap;
class Visual;
class XImage;
}
}
}
namespace java
{
namespace awt
{
class Color;
class Font;
class GraphicsDevice;
class Point;
class Rectangle;
namespace geom
{
class AffineTransform;
}
namespace image
{
class BufferedImage;
class ColorModel;
class DataBuffer;
class VolatileImage;
class WritableRaster;
}
}
}
}
class gnu::awt::xlib::XGraphicsConfiguration : public ::java::awt::GraphicsConfiguration
{
public:
XGraphicsConfiguration(::gnu::gcj::xlib::Visual *);
virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint);
public: // actually package-private
virtual ::java::awt::image::WritableRaster * createRasterForXImage(::gnu::gcj::xlib::XImage *, ::java::awt::Point *);
static void attachData(::gnu::gcj::xlib::XImage *, ::java::awt::image::DataBuffer *, jint);
virtual void prepareColorModel(::gnu::gcj::xlib::XImage *);
virtual void calcZPixmapModels(jint);
virtual void calcDecomposedRGBModels(jint);
virtual void calcPseudoColorModels(jint);
public:
virtual ::java::awt::GraphicsDevice * getDevice();
virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint, jint);
virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint);
virtual ::java::awt::image::ColorModel * getColorModel();
public: // actually package-private
virtual void preparePixelCM();
public:
virtual ::java::awt::image::ColorModel * getColorModel(jint);
virtual ::java::awt::geom::AffineTransform * getDefaultTransform();
virtual ::java::awt::geom::AffineTransform * getNormalizingTransform();
virtual ::java::awt::Rectangle * getBounds();
public: // actually package-private
virtual ::gnu::gcj::xlib::Visual * getVisual();
virtual ::gnu::awt::xlib::XFontMetrics * getXFontMetrics(::java::awt::Font *);
virtual jint getPixel(::java::awt::Color *);
public:
virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, jint);
public: // actually package-private
::gnu::gcj::xlib::Visual * __attribute__((aligned(__alignof__( ::java::awt::GraphicsConfiguration)))) visual;
jint format;
::gnu::gcj::xlib::Colormap * colormap;
::java::awt::image::ColorModel * imageCM;
::java::awt::image::ColorModel * pixelCM;
private:
static const jint CACHE_SIZE_PER_DISPLAY = 10;
public: // actually package-private
static ::gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache * fontMetricsCache;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_awt_xlib_XGraphicsConfiguration__
|