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

#ifndef __gnu_java_awt_font_opentype_truetype_ZonePathIterator__
#define __gnu_java_awt_font_opentype_truetype_ZonePathIterator__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace font
        {
          namespace opentype
          {
            namespace truetype
            {
                class Zone;
                class ZonePathIterator;
            }
          }
        }
      }
    }
  }
}

class gnu::java::awt::font::opentype::truetype::ZonePathIterator : public ::java::lang::Object
{

public: // actually package-private
  ZonePathIterator(::gnu::java::awt::font::opentype::truetype::Zone *, jint);
public:
  jint getWindingRule();
  jboolean isDone();
  void next();
private:
  jint getSuccessor(jint);
public:
  jint currentSegment(JArray< jfloat > *);
  jint currentSegment(JArray< jdouble > *);
private:
  jint getSegment(jint, JArray< jfloat > *);
  jint getStartSegment(jint, JArray< jfloat > *);
  static const jint EMIT_SEGMENT = 0;
  static const jint EMIT_CLOSE = 1;
  static const jint EMIT_MOVETO = 2;
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) state;
  ::gnu::java::awt::font::opentype::truetype::Zone * zone;
  jint numPoints;
  jint curPoint;
  jint contourStart;
  jint type;
public: // actually package-private
  JArray< jfloat > * floats;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_font_opentype_truetype_ZonePathIterator__
