1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_Graphics__
|
5 |
|
|
#define __java_awt_Graphics__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Color;
|
19 |
|
|
class Font;
|
20 |
|
|
class FontMetrics;
|
21 |
|
|
class Graphics;
|
22 |
|
|
class Image;
|
23 |
|
|
class Polygon;
|
24 |
|
|
class Rectangle;
|
25 |
|
|
class Shape;
|
26 |
|
|
namespace image
|
27 |
|
|
{
|
28 |
|
|
class ImageObserver;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
namespace text
|
32 |
|
|
{
|
33 |
|
|
class AttributedCharacterIterator;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
|
38 |
|
|
class java::awt::Graphics : public ::java::lang::Object
|
39 |
|
|
{
|
40 |
|
|
|
41 |
|
|
public: // actually protected
|
42 |
|
|
Graphics();
|
43 |
|
|
public:
|
44 |
|
|
virtual ::java::awt::Graphics * create() = 0;
|
45 |
|
|
virtual ::java::awt::Graphics * create(jint, jint, jint, jint);
|
46 |
|
|
virtual void translate(jint, jint) = 0;
|
47 |
|
|
virtual ::java::awt::Color * getColor() = 0;
|
48 |
|
|
virtual void setColor(::java::awt::Color *) = 0;
|
49 |
|
|
virtual void setPaintMode() = 0;
|
50 |
|
|
virtual void setXORMode(::java::awt::Color *) = 0;
|
51 |
|
|
virtual ::java::awt::Font * getFont() = 0;
|
52 |
|
|
virtual void setFont(::java::awt::Font *) = 0;
|
53 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics();
|
54 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
|
55 |
|
|
virtual ::java::awt::Rectangle * getClipBounds() = 0;
|
56 |
|
|
virtual ::java::awt::Rectangle * getClipRect();
|
57 |
|
|
virtual void clipRect(jint, jint, jint, jint) = 0;
|
58 |
|
|
virtual void setClip(jint, jint, jint, jint) = 0;
|
59 |
|
|
virtual ::java::awt::Shape * getClip() = 0;
|
60 |
|
|
virtual void setClip(::java::awt::Shape *) = 0;
|
61 |
|
|
virtual void copyArea(jint, jint, jint, jint, jint, jint) = 0;
|
62 |
|
|
virtual void drawLine(jint, jint, jint, jint) = 0;
|
63 |
|
|
virtual void fillRect(jint, jint, jint, jint) = 0;
|
64 |
|
|
virtual void drawRect(jint, jint, jint, jint);
|
65 |
|
|
virtual void clearRect(jint, jint, jint, jint) = 0;
|
66 |
|
|
virtual void drawRoundRect(jint, jint, jint, jint, jint, jint) = 0;
|
67 |
|
|
virtual void fillRoundRect(jint, jint, jint, jint, jint, jint) = 0;
|
68 |
|
|
virtual void draw3DRect(jint, jint, jint, jint, jboolean);
|
69 |
|
|
virtual void fill3DRect(jint, jint, jint, jint, jboolean);
|
70 |
|
|
virtual void drawOval(jint, jint, jint, jint) = 0;
|
71 |
|
|
virtual void fillOval(jint, jint, jint, jint) = 0;
|
72 |
|
|
virtual void drawArc(jint, jint, jint, jint, jint, jint) = 0;
|
73 |
|
|
virtual void fillArc(jint, jint, jint, jint, jint, jint) = 0;
|
74 |
|
|
virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint) = 0;
|
75 |
|
|
virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
|
76 |
|
|
virtual void drawPolygon(::java::awt::Polygon *);
|
77 |
|
|
virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
|
78 |
|
|
virtual void fillPolygon(::java::awt::Polygon *);
|
79 |
|
|
virtual void drawString(::java::lang::String *, jint, jint) = 0;
|
80 |
|
|
virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint) = 0;
|
81 |
|
|
virtual void drawChars(JArray< jchar > *, jint, jint, jint, jint);
|
82 |
|
|
virtual void drawBytes(JArray< jbyte > *, jint, jint, jint, jint);
|
83 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
84 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
85 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
|
86 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
|
87 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
88 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
|
89 |
|
|
virtual void dispose() = 0;
|
90 |
|
|
virtual void finalize();
|
91 |
|
|
virtual ::java::lang::String * toString();
|
92 |
|
|
virtual jboolean hitClip(jint, jint, jint, jint);
|
93 |
|
|
virtual ::java::awt::Rectangle * getClipBounds(::java::awt::Rectangle *);
|
94 |
|
|
static ::java::lang::Class class$;
|
95 |
|
|
};
|
96 |
|
|
|
97 |
|
|
#endif // __java_awt_Graphics__
|