putColor method
Implementation
bool putColor( int x, int y, int color ){
if( (x < 0) || (x >= _width) || (y < 0) || (y >= _height) ){
return false;
}
_image![y * _offset + x] = color;
if( _gWorldPut ){
if( color == _color ){
gWorldPut( this, x, y );
} else {
gWorldPutColor( this, x, y, color );
}
}
return true;
}