From 37313b49352eafc3bf7aa8a8288a2064b1f896d2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 13 Sep 2007 04:31:40 +0000 Subject: r16564@tres: ted | 2007-09-12 20:45:12 -0700 Final GSoC patch from Chris. I took too long to include it :( (bzr r3740) --- src/extension/internal/bitmap/raise.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/extension/internal/bitmap/raise.cpp') diff --git a/src/extension/internal/bitmap/raise.cpp b/src/extension/internal/bitmap/raise.cpp index 6f050fcef..d3130a11d 100644 --- a/src/extension/internal/bitmap/raise.cpp +++ b/src/extension/internal/bitmap/raise.cpp @@ -18,7 +18,7 @@ namespace Bitmap { void Raise::applyEffect(Magick::Image* image) { - Magick::Geometry geometry(_width, _height, _x, _y); + Magick::Geometry geometry(_width, _height, 0, 0); image->raise(geometry, _raisedFlag); } @@ -26,8 +26,6 @@ void Raise::refreshParameters(Inkscape::Extension::Effect* module) { _width = module->get_param_int("width"); _height = module->get_param_int("height"); - _x = module->get_param_int("x"); - _y = module->get_param_int("y"); _raisedFlag = module->get_param_bool("raisedFlag"); } @@ -42,15 +40,13 @@ Raise::init(void) "org.inkscape.effect.bitmap.raise\n" "6\n" "6\n" - "0\n" - "0\n" - "0\n" + "0\n" "\n" "all\n" "\n" "\n" "\n" - "" N_("Apply Raise Effect") "\n" + "" N_("Alter lightness the edges of selected bitmap(s) to create a raised appearance.") "\n" "\n" "\n", new Raise()); } -- cgit v1.2.3