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

#ifndef __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
#define __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__

#pragma interface

#include <java/awt/FontMetrics.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace gtk
          {
              class GdkFontPeer;
              class GdkFontPeer$GdkFontMetrics;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Font;
    }
  }
}

class gnu::java::awt::peer::gtk::GdkFontPeer$GdkFontMetrics : public ::java::awt::FontMetrics
{

public:
  GdkFontPeer$GdkFontMetrics(::gnu::java::awt::peer::gtk::GdkFontPeer *, ::java::awt::Font *);
  virtual jint stringWidth(::java::lang::String *);
  virtual jint charWidth(jchar);
  virtual jint charsWidth(JArray< jchar > *, jint, jint);
  virtual jint getHeight();
  virtual jint getLeading();
  virtual jint getAscent();
  virtual jint getMaxAscent();
  virtual jint getDescent();
  virtual jint getMaxDescent();
  virtual jint getMaxAdvance();
public: // actually package-private
  ::gnu::java::awt::peer::gtk::GdkFontPeer * __attribute__((aligned(__alignof__( ::java::awt::FontMetrics)))) this$0;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
