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

#ifndef __java_awt_image_AreaAveragingScaleFilter__
#define __java_awt_image_AreaAveragingScaleFilter__

#pragma interface

#include <java/awt/image/ReplicateScaleFilter.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace image
      {
          class AreaAveragingScaleFilter;
          class ColorModel;
      }
    }
  }
}

class java::awt::image::AreaAveragingScaleFilter : public ::java::awt::image::ReplicateScaleFilter
{

public:
  AreaAveragingScaleFilter(jint, jint);
  virtual void setHints(jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
private:
  JArray< jbyte > * averagePixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, jdouble, jdouble, jint);
  JArray< jint > * averagePixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, jdouble, jdouble, jint);
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_image_AreaAveragingScaleFilter__
