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

#ifndef __java_awt_FontMetrics__
#define __java_awt_FontMetrics__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      class FontMetrics;
      class Font;
    }
  }
};

class ::java::awt::FontMetrics : public ::java::lang::Object
{
public:  // actually protected
  FontMetrics (::java::awt::Font *);
public:
  virtual ::java::awt::Font *getFont () { return font; }
  virtual jint getLeading ();
  virtual jint getAscent ();
  virtual jint getDescent ();
  virtual jint getHeight ();
  virtual jint getMaxAscent ();
  virtual jint getMaxDescent ();
  virtual jint getMaxDecent ();
  virtual jint getMaxAdvance ();
  virtual jint charWidth (jint);
  virtual jint charWidth (jchar);
  virtual jint stringWidth (::java::lang::String *);
  virtual jint charsWidth (jcharArray, jint, jint);
  virtual jint bytesWidth (jbyteArray, jint, jint);
  virtual jintArray getWidths ();
  virtual ::java::lang::String *toString ();
private:
  static const jlong serialVersionUID = 1681126225205050147LL;
public:  // actually protected
  ::java::awt::Font *font;
public:

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

#endif /* __java_awt_FontMetrics__ */
