summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/display/nr-filter.cpp22
1 files 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 */