// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_font_LineBreakMeasurer__
#define __java_awt_font_LineBreakMeasurer__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace font
      {
        class LineBreakMeasurer;
        class TextLayout;
        class FontRenderContext;
      }
    }
    namespace text
    {
      class BreakIterator;
      class AttributedCharacterIterator;
    }
  }
}

class java::awt::font::LineBreakMeasurer : public ::java::lang::Object
{
public:
  LineBreakMeasurer (::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
  LineBreakMeasurer (::java::text::AttributedCharacterIterator *, ::java::text::BreakIterator *, ::java::awt::font::FontRenderContext *);
  virtual void deleteChar (::java::text::AttributedCharacterIterator *, jint);
  virtual jint getPosition ();
  virtual void insertChar (::java::text::AttributedCharacterIterator *, jint);
  virtual ::java::awt::font::TextLayout *nextLayout (jfloat);
  virtual ::java::awt::font::TextLayout *nextLayout (jfloat, jint, jboolean);
  virtual jint nextOffset (jfloat);
  virtual jint nextOffset (jfloat, jint, jboolean);
  virtual void setPosition (jint);
private:
  ::java::text::AttributedCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object )))) ci;
  ::java::awt::font::FontRenderContext *frc;
  ::java::text::BreakIterator *bi;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_awt_font_LineBreakMeasurer__ */
