summaryrefslogtreecommitdiffstats
path: root/src/knotholder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knotholder.cpp')
-rw-r--r--src/knotholder.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp
index 58469107d..982e73747 100644
--- a/src/knotholder.cpp
+++ b/src/knotholder.cpp
@@ -387,6 +387,18 @@ void KnotHolder::add_pattern_knotholder()
updateControlSizes();
}
+void KnotHolder::add_filter_knotholder() {
+ FilterKnotHolderEntity *entity_tl = new FilterKnotHolderEntity(true);
+ FilterKnotHolderEntity *entity_br = new FilterKnotHolderEntity(false);
+ entity_tl->create(desktop, item, this, Inkscape::CTRL_TYPE_POINT,
+ _("<b>Resize</b> the filter effect region"), SP_KNOT_SHAPE_DIAMOND);
+ entity_br->create(desktop, item, this, Inkscape::CTRL_TYPE_POINT,
+ _("<b>Resize</b> the filter effect region"), SP_KNOT_SHAPE_DIAMOND);
+ entity.push_back(entity_tl);
+ entity.push_back(entity_br);
+ updateControlSizes();
+}
+
/*
Local Variables:
mode:c++