OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / java / awt / font / ShapeGraphicAttribute.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __java_awt_font_ShapeGraphicAttribute__
5 #define __java_awt_font_ShapeGraphicAttribute__
6
7 #pragma interface
8
9 #include <java/awt/font/GraphicAttribute.h>
10 extern "Java"
11 {
12   namespace java
13   {
14     namespace awt
15     {
16         class Graphics2D;
17         class Shape;
18       namespace font
19       {
20           class ShapeGraphicAttribute;
21       }
22       namespace geom
23       {
24           class Rectangle2D;
25       }
26     }
27   }
28 }
29
30 class java::awt::font::ShapeGraphicAttribute : public ::java::awt::font::GraphicAttribute
31 {
32
33 public:
34   ShapeGraphicAttribute(::java::awt::Shape *, jint, jboolean);
35   void draw(::java::awt::Graphics2D *, jfloat, jfloat);
36   jboolean equals(::java::lang::Object *);
37   jboolean equals(::java::awt::font::ShapeGraphicAttribute *);
38   jfloat getAdvance();
39   jfloat getAscent();
40   jfloat getDescent();
41   ::java::awt::geom::Rectangle2D * getBounds();
42   jint hashCode();
43   static const jboolean FILL = 0;
44   static const jboolean STROKE = 1;
45 private:
46   ::java::awt::Shape * __attribute__((aligned(__alignof__( ::java::awt::font::GraphicAttribute)))) shape;
47   jboolean stroke;
48   ::java::awt::geom::Rectangle2D * bounds;
49 public:
50   static ::java::lang::Class class$;
51 };
52
53 #endif // __java_awt_font_ShapeGraphicAttribute__