// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007 Authors: * Christopher Brown * Ted Gould * * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "extension/effect.h" #include "extension/system.h" #include "negate.h" #include namespace Inkscape { namespace Extension { namespace Internal { namespace Bitmap { void Negate::applyEffect(Magick::Image* image) { image->negate(); } void Negate::refreshParameters(Inkscape::Extension::Effect* /*module*/) { } #include "../clear-n_.h" void Negate::init() { // clang-format off Inkscape::Extension::build_from_mem( "\n" "" N_("Negate") "\n" "org.inkscape.effect.bitmap.negate\n" "\n" "all\n" "\n" "\n" "\n" "" N_("Negate (take inverse) selected bitmap(s)") "\n" "\n" "\n", new Negate()); // clang-format on } }; /* namespace Bitmap */ }; /* namespace Internal */ }; /* namespace Extension */ }; /* namespace Inkscape */