2
* Copyright (C) 2007 Authors:
3
* Christopher Brown <audiere@gmail.com>
4
* Ted Gould <ted@gould.cx>
6
* Released under GNU GPL, read the file 'COPYING' for more information
9
#include "extension/effect.h"
10
#include "extension/system.h"
20
Emboss::applyEffect(Magick::Image *image) {
21
image->emboss(_radius, _sigma);
25
Emboss::refreshParameters(Inkscape::Extension::Effect *module) {
26
_radius = module->get_param_float("radius");
27
_sigma = module->get_param_float("sigma");
30
#include "../clear-n_.h"
35
Inkscape::Extension::build_from_mem(
36
"<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI "\">\n"
37
"<name>" N_("Emboss") "</name>\n"
38
"<id>org.inkscape.effect.bitmap.emboss</id>\n"
39
"<param name=\"radius\" gui-text=\"" N_("Radius") "\" type=\"float\" min=\"0\" max=\"100\">1.0</param>\n"
40
"<param name=\"sigma\" gui-text=\"" N_("Sigma") "\" type=\"float\" min=\"-50\" max=\"50\">0.5</param>\n"
42
"<object-type>all</object-type>\n"
44
"<submenu name=\"" N_("Raster") "\" />\n"
46
"<menu-tip>" N_("Emboss selected bitmap(s) -- highlight edges with 3D effect.") "</menu-tip>\n"
48
"</inkscape-extension>\n", new Emboss());
51
}; /* namespace Bitmap */
52
}; /* namespace Internal */
53
}; /* namespace Extension */
54
}; /* namespace Inkscape */