summaryrefslogtreecommitdiffstats
path: root/src/knot-holder-entity.h
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc.jeanmougin@telecom-paristech.fr>2018-04-28 09:59:33 +0000
committerMarc Jeanmougin <marc.jeanmougin@telecom-paristech.fr>2018-04-28 09:59:33 +0000
commit2a37d214a84b9dad43f447a09a65846d07e96f44 (patch)
tree843b2ce041124c0dde7b548205ec626e483769b9 /src/knot-holder-entity.h
parentFix bug when converting to paths cliped and masked LPE elemets (diff)
downloadinkscape-2a37d214a84b9dad43f447a09a65846d07e96f44.tar.gz
inkscape-2a37d214a84b9dad43f447a09a65846d07e96f44.zip
Allow FER edition on canvas
Diffstat (limited to 'src/knot-holder-entity.h')
-rw-r--r--src/knot-holder-entity.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/knot-holder-entity.h b/src/knot-holder-entity.h
index 63a068cab..043da4cd9 100644
--- a/src/knot-holder-entity.h
+++ b/src/knot-holder-entity.h
@@ -130,6 +130,16 @@ private:
bool _fill;
};
+/* Filter manipulation */
+class FilterKnotHolderEntity : public KnotHolderEntity {
+public:
+ FilterKnotHolderEntity(bool topleft) : KnotHolderEntity(), _topleft(topleft) {}
+ virtual Geom::Point knot_get() const;
+ virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, unsigned int state);
+private:
+ bool _topleft; // true for topleft point, false for bottomright
+};
+
#endif /* !SEEN_KNOT_HOLDER_ENTITY_H */
/*