aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/font/GraphicAttribute.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/java/awt/font/GraphicAttribute.h
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/java/awt/font/GraphicAttribute.h')
-rw-r--r--libjava/java/awt/font/GraphicAttribute.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/libjava/java/awt/font/GraphicAttribute.h b/libjava/java/awt/font/GraphicAttribute.h
new file mode 100644
index 0000000..622cbed
--- /dev/null
+++ b/libjava/java/awt/font/GraphicAttribute.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_GraphicAttribute__
+#define __java_awt_font_GraphicAttribute__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics2D;
+ namespace font
+ {
+ class GlyphJustificationInfo;
+ class GraphicAttribute;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::font::GraphicAttribute : public ::java::lang::Object
+{
+
+public: // actually protected
+ GraphicAttribute(jint);
+public:
+ virtual void draw(::java::awt::Graphics2D *, jfloat, jfloat) = 0;
+ virtual jfloat getAdvance() = 0;
+ virtual jfloat getAscent() = 0;
+ virtual jfloat getDescent() = 0;
+ virtual jint getAlignment();
+ virtual ::java::awt::geom::Rectangle2D * getBounds();
+ virtual ::java::awt::font::GlyphJustificationInfo * getJustificationInfo();
+ static const jint BOTTOM_ALIGNMENT = -2;
+ static const jint CENTER_BASELINE = 1;
+ static const jint HANGING_BASELINE = 2;
+ static const jint ROMAN_BASELINE = 0;
+ static const jint TOP_ALIGNMENT = -1;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) alignment;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_GraphicAttribute__