Example #1
0
void Magick::floodFillTextureImage::operator()(Magick::Image &image_) const
{
  if (_borderColor.isValid())
    image_.floodFillTexture(_x,_y,_texture,_borderColor,_invert);
  else
    image_.floodFillTexture(_x,_y,_texture,_invert);
}
Example #2
0
void Magick::floodFillTextureImage::operator()( Magick::Image &image_ ) const
{
  if ( _borderColor.isValid() )
    {
      image_.floodFillTexture( _x, _y, _texture, _borderColor );
    }
  else
    {
      image_.floodFillTexture( _x, _y, _texture );
    }
}