273e421813f295d65aab512f508e8fb575d997d4gouldtj * Copyright (C) 2007 Authors:
273e421813f295d65aab512f508e8fb575d997d4gouldtj * Christopher Brown <audiere@gmail.com>
273e421813f295d65aab512f508e8fb575d997d4gouldtj * Ted Gould <ted@gould.cx>
273e421813f295d65aab512f508e8fb575d997d4gouldtj * Released under GNU GPL, read the file 'COPYING' for more information
5cf507fca7719ae9280d0a5199e024e920f1284dAlex Valavanis#include <Magick++.h>
18023a6d3838bec98725b5a745bd29350bb9e337buliabyak image->modulate(_brightness + 100, _saturation + 100, hue);
273e421813f295d65aab512f508e8fb575d997d4gouldtjModulate::refreshParameters(Inkscape::Extension::Effect* module) {
273e421813f295d65aab512f508e8fb575d997d4gouldtj _brightness = module->get_param_float("brightness");
273e421813f295d65aab512f508e8fb575d997d4gouldtj _saturation = module->get_param_float("saturation");
e4a9f366dbcb54f76b8c42869fa6873808132357gouldtj "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI "\">\n"
273e421813f295d65aab512f508e8fb575d997d4gouldtj "<id>org.inkscape.effect.bitmap.modulate</id>\n"
57e8d5fd57a890842b51a13207e222fcf953816cJazzyNico "<param name=\"hue\" gui-text=\"" N_("Hue:") "\" type=\"float\" min=\"-360\" max=\"360\">0</param>\n"
57e8d5fd57a890842b51a13207e222fcf953816cJazzyNico "<param name=\"saturation\" gui-text=\"" N_("Saturation:") "\" type=\"float\" min=\"-200\" max=\"200\">0</param>\n"
57e8d5fd57a890842b51a13207e222fcf953816cJazzyNico "<param name=\"brightness\" gui-text=\"" N_("Brightness:") "\" type=\"float\" min=\"-200\" max=\"200\">0</param>\n"
273e421813f295d65aab512f508e8fb575d997d4gouldtj "<effect>\n"
273e421813f295d65aab512f508e8fb575d997d4gouldtj "<object-type>all</object-type>\n"
273e421813f295d65aab512f508e8fb575d997d4gouldtj "<effects-menu>\n"
273e421813f295d65aab512f508e8fb575d997d4gouldtj "</effects-menu>\n"
18023a6d3838bec98725b5a745bd29350bb9e337buliabyak "<menu-tip>" N_("Adjust the amount of hue, saturation, and brightness in selected bitmap(s)") "</menu-tip>\n"
273e421813f295d65aab512f508e8fb575d997d4gouldtj "</effect>\n"
273e421813f295d65aab512f508e8fb575d997d4gouldtj}; /* namespace Bitmap */
273e421813f295d65aab512f508e8fb575d997d4gouldtj}; /* namespace Internal */
273e421813f295d65aab512f508e8fb575d997d4gouldtj}; /* namespace Extension */
273e421813f295d65aab512f508e8fb575d997d4gouldtj}; /* namespace Inkscape */