1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_awt_j2d_Graphics2DImpl__
|
5 |
|
|
#define __gnu_awt_j2d_Graphics2DImpl__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/Graphics2D.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace j2d
|
19 |
|
|
{
|
20 |
|
|
class AbstractGraphicsState;
|
21 |
|
|
class Graphics2DImpl;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
namespace java
|
26 |
|
|
{
|
27 |
|
|
namespace awt
|
28 |
|
|
{
|
29 |
|
|
class Color;
|
30 |
|
|
class Composite;
|
31 |
|
|
class Font;
|
32 |
|
|
class FontMetrics;
|
33 |
|
|
class Graphics;
|
34 |
|
|
class GraphicsConfiguration;
|
35 |
|
|
class Image;
|
36 |
|
|
class Paint;
|
37 |
|
|
class Rectangle;
|
38 |
|
|
class RenderingHints;
|
39 |
|
|
class RenderingHints$Key;
|
40 |
|
|
class Shape;
|
41 |
|
|
class Stroke;
|
42 |
|
|
namespace font
|
43 |
|
|
{
|
44 |
|
|
class FontRenderContext;
|
45 |
|
|
class GlyphVector;
|
46 |
|
|
}
|
47 |
|
|
namespace geom
|
48 |
|
|
{
|
49 |
|
|
class AffineTransform;
|
50 |
|
|
}
|
51 |
|
|
namespace image
|
52 |
|
|
{
|
53 |
|
|
class BufferedImage;
|
54 |
|
|
class BufferedImageOp;
|
55 |
|
|
class ImageObserver;
|
56 |
|
|
class RenderedImage;
|
57 |
|
|
namespace renderable
|
58 |
|
|
{
|
59 |
|
|
class RenderableImage;
|
60 |
|
|
}
|
61 |
|
|
}
|
62 |
|
|
}
|
63 |
|
|
namespace text
|
64 |
|
|
{
|
65 |
|
|
class AttributedCharacterIterator;
|
66 |
|
|
}
|
67 |
|
|
}
|
68 |
|
|
}
|
69 |
|
|
|
70 |
|
|
class gnu::awt::j2d::Graphics2DImpl : public ::java::awt::Graphics2D
|
71 |
|
|
{
|
72 |
|
|
|
73 |
|
|
public:
|
74 |
|
|
Graphics2DImpl(::java::awt::GraphicsConfiguration *);
|
75 |
|
|
virtual void setState(::gnu::awt::j2d::AbstractGraphicsState *);
|
76 |
|
|
virtual ::java::lang::Object * clone();
|
77 |
|
|
virtual ::java::awt::Graphics * create();
|
78 |
|
|
virtual ::java::awt::Color * getColor();
|
79 |
|
|
virtual void setColor(::java::awt::Color *);
|
80 |
|
|
virtual void setPaintMode();
|
81 |
|
|
virtual void setXORMode(::java::awt::Color *);
|
82 |
|
|
virtual ::java::awt::Font * getFont();
|
83 |
|
|
virtual void setFont(::java::awt::Font *);
|
84 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
|
85 |
|
|
virtual ::java::awt::Rectangle * getClipBounds();
|
86 |
|
|
virtual void clipRect(jint, jint, jint, jint);
|
87 |
|
|
virtual void setClip(jint, jint, jint, jint);
|
88 |
|
|
virtual ::java::awt::Shape * getClip();
|
89 |
|
|
virtual void setClip(::java::awt::Shape *);
|
90 |
|
|
virtual void copyArea(jint, jint, jint, jint, jint, jint);
|
91 |
|
|
virtual void drawLine(jint, jint, jint, jint);
|
92 |
|
|
virtual void fillRect(jint, jint, jint, jint);
|
93 |
|
|
virtual void clearRect(jint, jint, jint, jint);
|
94 |
|
|
virtual void drawRoundRect(jint, jint, jint, jint, jint, jint);
|
95 |
|
|
virtual void fillRoundRect(jint, jint, jint, jint, jint, jint);
|
96 |
|
|
virtual void drawOval(jint, jint, jint, jint);
|
97 |
|
|
virtual void fillOval(jint, jint, jint, jint);
|
98 |
|
|
virtual void drawArc(jint, jint, jint, jint, jint, jint);
|
99 |
|
|
virtual void fillArc(jint, jint, jint, jint, jint, jint);
|
100 |
|
|
virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
|
101 |
|
|
virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
|
102 |
|
|
virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint);
|
103 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
|
104 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
|
105 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
|
106 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
|
107 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
|
108 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
|
109 |
|
|
virtual void dispose();
|
110 |
|
|
virtual void draw(::java::awt::Shape *);
|
111 |
|
|
virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *);
|
112 |
|
|
virtual void drawString(::java::lang::String *, jint, jint);
|
113 |
|
|
virtual void drawString(::java::lang::String *, jfloat, jfloat);
|
114 |
|
|
virtual void fill(::java::awt::Shape *);
|
115 |
|
|
virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean);
|
116 |
|
|
virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
|
117 |
|
|
virtual void setPaint(::java::awt::Paint *);
|
118 |
|
|
virtual void setRenderingHint(::java::awt::RenderingHints$Key *, ::java::lang::Object *);
|
119 |
|
|
virtual ::java::lang::Object * getRenderingHint(::java::awt::RenderingHints$Key *);
|
120 |
|
|
virtual ::java::awt::RenderingHints * getRenderingHints();
|
121 |
|
|
virtual void translate(jint, jint);
|
122 |
|
|
virtual void translate(jdouble, jdouble);
|
123 |
|
|
virtual void rotate(jdouble);
|
124 |
|
|
virtual void rotate(jdouble, jdouble, jdouble);
|
125 |
|
|
virtual void scale(jdouble, jdouble);
|
126 |
|
|
virtual void shear(jdouble, jdouble);
|
127 |
|
|
virtual void transform(::java::awt::geom::AffineTransform *);
|
128 |
|
|
virtual void setTransform(::java::awt::geom::AffineTransform *);
|
129 |
|
|
virtual ::java::awt::geom::AffineTransform * getTransform();
|
130 |
|
|
virtual ::java::awt::Paint * getPaint();
|
131 |
|
|
virtual void setBackground(::java::awt::Color *);
|
132 |
|
|
virtual ::java::awt::Color * getBackground();
|
133 |
|
|
virtual void clip(::java::awt::Shape *);
|
134 |
|
|
virtual void drawImage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImageOp *, jint, jint);
|
135 |
|
|
virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
|
136 |
|
|
virtual void drawRenderableImage(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *);
|
137 |
|
|
virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint);
|
138 |
|
|
virtual void drawString(::java::text::AttributedCharacterIterator *, jfloat, jfloat);
|
139 |
|
|
virtual void setComposite(::java::awt::Composite *);
|
140 |
|
|
virtual void setStroke(::java::awt::Stroke *);
|
141 |
|
|
virtual void setRenderingHints(::java::util::Map *);
|
142 |
|
|
virtual void addRenderingHints(::java::util::Map *);
|
143 |
|
|
virtual ::java::awt::Composite * getComposite();
|
144 |
|
|
virtual ::java::awt::Stroke * getStroke();
|
145 |
|
|
virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
|
146 |
|
|
virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
|
147 |
|
|
public: // actually package-private
|
148 |
|
|
::java::awt::GraphicsConfiguration * __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) config;
|
149 |
|
|
::gnu::awt::j2d::AbstractGraphicsState * state;
|
150 |
|
|
::java::awt::Color * fg;
|
151 |
|
|
::java::awt::Color * bg;
|
152 |
|
|
::java::awt::Font * font;
|
153 |
|
|
public:
|
154 |
|
|
static ::java::lang::Class class$;
|
155 |
|
|
};
|
156 |
|
|
|
157 |
|
|
#endif // __gnu_awt_j2d_Graphics2DImpl__
|