From: buliabyak Date: Fri, 20 Oct 2006 05:37:53 +0000 (+0000) Subject: fill in set methods to enable x/y/w/h X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1cb9a58ed7f1377b8b2757dd73d0429370e0cafa;p=inkscape.git fill in set methods to enable x/y/w/h --- diff --git a/src/display/nr-filter.cpp b/src/display/nr-filter.cpp index 346e61686..328b5c12a 100644 --- a/src/display/nr-filter.cpp +++ b/src/display/nr-filter.cpp @@ -325,14 +325,26 @@ void Filter::clear_primitives() _primitive_count = 0; } -void Filter::set_x(SVGLength &lenght) -{ /*write me*/ } +void Filter::set_x(SVGLength &length) +{ + if (length._set) + _region_x = length; +} void Filter::set_y(SVGLength &length) -{ /*write me*/ } +{ + if (length._set) + _region_y = length; +} void Filter::set_width(SVGLength &length) -{ /*write me*/ } +{ + if (length._set) + _region_width = length; +} void Filter::set_height(SVGLength &length) -{ /*write me*/ } +{ + if (length._set) + _region_height = length; +} } /* namespace NR */