summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-10-20 05:37:53 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-10-20 05:37:53 +0000
commit25681cb55d4f70fbf088632cc43866c8d9d88121 (patch)
treec2a900c3b89b30edd69ea442b62699d2f24b2fca /src
parentremove color cursors (diff)
downloadinkscape-25681cb55d4f70fbf088632cc43866c8d9d88121.tar.gz
inkscape-25681cb55d4f70fbf088632cc43866c8d9d88121.zip
fill in set methods to enable x/y/w/h
(bzr r1812)
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 */