
#ifndef _JAVA_RASTER_H
#define _JAVA_RASTER_H

#include "java.h"
#include "JavaObject.h"
#include "AColormap.h"


@interface JavaRaster : JavaObject {
  jmethodID _erase;
  jmethodID _setSize;
  jmethodID _drawPoint;
  jmethodID _fillRectangle;
  jmethodID _drawSelf;
}

+ newW: (int)w H: (int) h;

- initW: (int)w H: (int) h;
- (void) free;

- erase;
- setWidth: (unsigned)w Height: (unsigned)h;
- drawPointX: (int) x Y: (int) y Color: (PixelValue) c;
- fillRectangleX0: (int) x0 Y0: (int) y0 
	      X1: (int) x1 Y1: (int) y1 
	   Color: (PixelValue) c;
- drawSelf;

@end

#endif
