clear method

void clear(
  1. int color
)

Implementation

void clear( int color ){
	int ix, iy, yy;
	for( iy = 0; iy < _height; iy++ ){
		yy = iy * _offset;
		for( ix = 0; ix < _width; ix++ ){
			_image![yy + ix] = color;
		}
	}
	gWorldClear( this, color );
}