summaryrefslogtreecommitdiff
path: root/libjava/java/awt/font/TextMeasurer.h
blob: 31ca7b27fa5aeee7c55ce342792c5dfea5b7a181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_font_TextMeasurer__
#define __java_awt_font_TextMeasurer__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace font
      {
          class FontRenderContext;
          class TextLayout;
          class TextMeasurer;
      }
    }
    namespace text
    {
        class AttributedCharacterIterator;
    }
  }
}

class java::awt::font::TextMeasurer : public ::java::lang::Object
{

public:
  TextMeasurer(::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
public: // actually protected
  ::java::lang::Object * clone();
public:
  void deleteChar(::java::text::AttributedCharacterIterator *, jint);
  void insertChar(::java::text::AttributedCharacterIterator *, jint);
  jfloat getAdvanceBetween(jint, jint);
  ::java::awt::font::TextLayout * getLayout(jint, jint);
  jint getLineBreakIndex(jint, jfloat);
private:
  ::java::text::AttributedCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
  ::java::awt::font::FontRenderContext * frc;
  ::java::awt::font::TextLayout * totalLayout;
  jint numChars;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_font_TextMeasurer__