
#ifndef __IMAGE_H__
#define __IMAGE_H__

#include "poly.h"
#include "scanline.h"

//---- IMAGE CLASS -----------------------------------------------------------//

class Image
{
public:

  int *buf;
  int w, h;
  int size;

  Image( int w, int h );
  ~Image();

  void clear( int col );
  void checks( );

  void drawPolygon( class Poly *p, int col );
  void drawScanline( int y, Scanline *sl, int col );

private:
};



#endif
