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

#ifndef __gnu_java_awt_font_autofit_Latin__
#define __gnu_java_awt_font_autofit_Latin__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace font
        {
          namespace autofit
          {
              class GlyphHints;
              class Latin;
              class LatinMetrics;
              class ScriptMetrics;
          }
          namespace opentype
          {
              class OpenTypeFont;
          }
        }
      }
    }
  }
}

class gnu::java::awt::font::autofit::Latin : public ::java::lang::Object
{

public: // actually package-private
  Latin();
public:
  virtual void applyHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *);
  virtual void doneMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *);
  virtual void initHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *);
  virtual void initMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *);
  virtual void scaleMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *);
private:
  void initWidths(::gnu::java::awt::font::autofit::LatinMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *, jchar);
  void initBlues(::gnu::java::awt::font::autofit::LatinMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *);
  jint constant(::gnu::java::awt::font::autofit::LatinMetrics *, jint);
  static const jint MAX_WIDTHS = 16;
public: // actually package-private
  static jboolean $assertionsDisabled;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_font_autofit_Latin__
