From 1cb9a58ed7f1377b8b2757dd73d0429370e0cafa Mon Sep 17 00:00:00 2001 From: buliabyak Date: Fri, 20 Oct 2006 05:37:53 +0000 Subject: [PATCH] fill in set methods to enable x/y/w/h --- src/display/nr-filter.cpp | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) 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 */ -- 2.30.2