summaryrefslogtreecommitdiffstats
path: root/src/knotholder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knotholder.cpp')
-rw-r--r--src/knotholder.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp
index d12f61a98..7d6fa776e 100644
--- a/src/knotholder.cpp
+++ b/src/knotholder.cpp
@@ -28,6 +28,7 @@
#include "object/box3d.h"
#include "object/sp-ellipse.h"
+#include "object/sp-hatch.h"
#include "object/sp-offset.h"
#include "object/sp-pattern.h"
#include "object/sp-rect.h"
@@ -393,6 +394,13 @@ void KnotHolder::add_pattern_knotholder()
updateControlSizes();
}
+void KnotHolder::add_hatch_knotholder()
+{
+ if ((item->style->fill.isPaintserver()) && dynamic_cast<SPHatch *>(item->style->getFillPaintServer())) {
+ std::cout << "add_hatch_knotholder: activated" << std::endl;
+ }
+}
+
void KnotHolder::add_filter_knotholder() {
FilterKnotHolderEntity *entity_tl = new FilterKnotHolderEntity(true);
FilterKnotHolderEntity *entity_br = new FilterKnotHolderEntity(false);