Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / awt / font / TextMeasurer.h
blob31ca7b27fa5aeee7c55ce342792c5dfea5b7a181
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_font_TextMeasurer__
5 #define __java_awt_font_TextMeasurer__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace java
14 namespace awt
16 namespace font
18 class FontRenderContext;
19 class TextLayout;
20 class TextMeasurer;
23 namespace text
25 class AttributedCharacterIterator;
30 class java::awt::font::TextMeasurer : public ::java::lang::Object
33 public:
34 TextMeasurer(::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
35 public: // actually protected
36 ::java::lang::Object * clone();
37 public:
38 void deleteChar(::java::text::AttributedCharacterIterator *, jint);
39 void insertChar(::java::text::AttributedCharacterIterator *, jint);
40 jfloat getAdvanceBetween(jint, jint);
41 ::java::awt::font::TextLayout * getLayout(jint, jint);
42 jint getLineBreakIndex(jint, jfloat);
43 private:
44 ::java::text::AttributedCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
45 ::java::awt::font::FontRenderContext * frc;
46 ::java::awt::font::TextLayout * totalLayout;
47 jint numChars;
48 public:
49 static ::java::lang::Class class$;
52 #endif // __java_awt_font_TextMeasurer__