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

#ifndef __javax_swing_text_GlyphView$J2DGlyphPainter__
#define __javax_swing_text_GlyphView$J2DGlyphPainter__

#pragma interface

#include <javax/swing/text/GlyphView$GlyphPainter.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Font;
        class Graphics;
        class Shape;
      namespace font
      {
          class FontRenderContext;
          class TextLayout;
      }
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class GlyphView;
          class GlyphView$GlyphPainter;
          class GlyphView$J2DGlyphPainter;
          class Position$Bias;
          class TabExpander;
      }
    }
  }
}

class javax::swing::text::GlyphView$J2DGlyphPainter : public ::javax::swing::text::GlyphView$GlyphPainter
{

public: // actually package-private
  GlyphView$J2DGlyphPainter(::java::lang::String *, ::java::awt::Font *, ::java::awt::font::FontRenderContext *);
public:
  virtual ::javax::swing::text::GlyphView$GlyphPainter * getPainter(::javax::swing::text::GlyphView *, jint, jint);
  virtual jfloat getAscent(::javax::swing::text::GlyphView *);
  virtual jint getBoundedPosition(::javax::swing::text::GlyphView *, jint, jfloat, jfloat);
  virtual jfloat getDescent(::javax::swing::text::GlyphView *);
  virtual jfloat getHeight(::javax::swing::text::GlyphView *);
  virtual jfloat getSpan(::javax::swing::text::GlyphView *, jint, jint, ::javax::swing::text::TabExpander *, jfloat);
  virtual ::java::awt::Shape * modelToView(::javax::swing::text::GlyphView *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *);
  virtual void paint(::javax::swing::text::GlyphView *, ::java::awt::Graphics *, ::java::awt::Shape *, jint, jint);
  virtual jint viewToModel(::javax::swing::text::GlyphView *, jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *);
public: // actually package-private
  ::java::awt::font::TextLayout * __attribute__((aligned(__alignof__( ::javax::swing::text::GlyphView$GlyphPainter)))) textLayout;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_GlyphView$J2DGlyphPainter__
