1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_awt_j2d_AbstractGraphicsState__
|
5 |
|
|
#define __gnu_awt_j2d_AbstractGraphicsState__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.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 Font;
|
31 |
|
|
class FontMetrics;
|
32 |
|
|
class Image;
|
33 |
|
|
class Rectangle;
|
34 |
|
|
class Shape;
|
35 |
|
|
namespace image
|
36 |
|
|
{
|
37 |
|
|
class ImageObserver;
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
class gnu::awt::j2d::AbstractGraphicsState : public ::java::lang::Object
|
44 |
|
|
{
|
45 |
|
|
|
46 |
|
|
public:
|
47 |
|
|
AbstractGraphicsState();
|
48 |
|
|
virtual void setFrontend(::gnu::awt::j2d::Graphics2DImpl *);
|
49 |
|
|
virtual void dispose();
|
50 |
|
|
virtual void setColor(::java::awt::Color *) = 0;
|
51 |
|
|
virtual void setPaintMode() = 0;
|
52 |
|
|
virtual void setXORMode(::java::awt::Color *) = 0;
|
53 |
|
|
virtual void setFont(::java::awt::Font *) = 0;
|
54 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
|
55 |
|
|
virtual void setClip(::java::awt::Shape *) = 0;
|
56 |
|
|
virtual ::java::awt::Shape * getClip() = 0;
|
57 |
|
|
virtual ::java::awt::Rectangle * getClipBounds() = 0;
|
58 |
|
|
virtual void copyArea(jint, jint, jint, jint, jint, jint) = 0;
|
59 |
|
|
virtual void drawLine(jint, jint, jint, jint) = 0;
|
60 |
|
|
virtual void fillRect(jint, jint, jint, jint) = 0;
|
61 |
|
|
virtual void clearRect(jint, jint, jint, jint) = 0;
|
62 |
|
|
virtual void drawRoundRect(jint, jint, jint, jint, jint, jint) = 0;
|
63 |
|
|
virtual void fillRoundRect(jint, jint, jint, jint, jint, jint) = 0;
|
64 |
|
|
virtual void drawOval(jint, jint, jint, jint) = 0;
|
65 |
|
|
virtual void fillOval(jint, jint, jint, jint) = 0;
|
66 |
|
|
virtual void drawArc(jint, jint, jint, jint, jint, jint) = 0;
|
67 |
|
|
virtual void fillArc(jint, jint, jint, jint, jint, jint) = 0;
|
68 |
|
|
virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint) = 0;
|
69 |
|
|
virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
|
70 |
|
|
virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
|
71 |
|
|
virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
72 |
|
|
virtual void draw(::java::awt::Shape *) = 0;
|
73 |
|
|
virtual void fill(::java::awt::Shape *) = 0;
|
74 |
|
|
virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean) = 0;
|
75 |
|
|
virtual void drawString(::java::lang::String *, jint, jint) = 0;
|
76 |
|
|
virtual void drawString(::java::lang::String *, jfloat, jfloat) = 0;
|
77 |
|
|
virtual void translate(jint, jint) = 0;
|
78 |
|
|
virtual void translate(jdouble, jdouble) = 0;
|
79 |
|
|
virtual void rotate(jdouble) = 0;
|
80 |
|
|
virtual void rotate(jdouble, jdouble, jdouble) = 0;
|
81 |
|
|
virtual void scale(jdouble, jdouble) = 0;
|
82 |
|
|
virtual void shear(jdouble, jdouble) = 0;
|
83 |
|
|
virtual ::java::lang::Object * clone();
|
84 |
|
|
public: // actually package-private
|
85 |
|
|
::gnu::awt::j2d::Graphics2DImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) frontend;
|
86 |
|
|
public:
|
87 |
|
|
static ::java::lang::Class class$;
|
88 |
|
|
};
|
89 |
|
|
|
90 |
|
|
#endif // __gnu_awt_j2d_AbstractGraphicsState__
|