34#include "../clear-n_.h"
41 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
42 "<name>" N_(
"Raise")
"</name>\n"
43 "<id>org.inkscape.effect.bitmap.raise</id>\n"
44 "<param name=\"width\" gui-text=\"" N_(
"Width:")
"\" type=\"int\" min=\"0\" max=\"800\">6</param>\n"
45 "<param name=\"height\" gui-text=\"" N_(
"Height:")
"\" type=\"int\" min=\"0\" max=\"800\">6</param>\n"
46 "<param name=\"raisedFlag\" gui-text=\"" N_(
"Raised")
"\" type=\"bool\">false</param>\n"
48 "<object-type>all</object-type>\n"
50 "<submenu name=\"" N_(
"Raster")
"\" />\n"
52 "<menu-tip>" N_(
"Alter lightness the edges of selected bitmap(s) to create a raised appearance")
"</menu-tip>\n"
54 "</inkscape-extension>\n", std::make_unique<Raise>());
Effects are extensions that take a document and do something to it in place.
int get_param_int(char const *name) const
Gets a parameter identified by name with the integer placed in value.
bool get_param_bool(char const *name) const
Gets a parameter identified by name with the bool placed in value.
virtual unsigned image(Inkscape::Extension::Print *, unsigned char *, unsigned int, unsigned int, unsigned int, Geom::Affine const &, SPStyle const *)
void refreshParameters(Inkscape::Extension::Effect *module) override
void applyEffect(Magick::Image *image) override
std::unique_ptr< Magick::Image > image
void build_from_mem(gchar const *buffer, std::unique_ptr< Implementation::Implementation > in_imp)
Create a module from a buffer holding an XML description.
CMYK to sRGB conversion routines.