diff options
| author | Stefano Facchini <stefano.facchini@gmail.com> | 2017-10-01 13:27:03 +0000 |
|---|---|---|
| committer | Stefano Facchini <stefano.facchini@gmail.com> | 2017-10-01 13:40:38 +0000 |
| commit | d4432a4aaf3fb615d9808f53557a4283436bf035 (patch) | |
| tree | 2a9cc5ae46c673d092abdaba399133659f0cfc27 /src/knotholder.h | |
| parent | A little styling tweak to a LPE expander (diff) | |
| download | inkscape-d4432a4aaf3fb615d9808f53557a4283436bf035.tar.gz inkscape-d4432a4aaf3fb615d9808f53557a4283436bf035.zip | |
Fix the editing of clipping and masking objects
By passing along an edit_transform matrix, as done for clipping paths.
Cleanups:
- remove some unused methods
- use member initialization
Diffstat (limited to 'src/knotholder.h')
| -rw-r--r-- | src/knotholder.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/knotholder.h b/src/knotholder.h index d683b53ac..3c535cc31 100644 --- a/src/knotholder.h +++ b/src/knotholder.h @@ -18,6 +18,7 @@ */ #include <2geom/forward.h> +#include <2geom/affine.h> #include <list> #include <sigc++/connection.h> @@ -58,7 +59,8 @@ public: void add_pattern_knotholder(); - const SPItem *getItem() { return item; } + void setEditTransform(Geom::Affine edit_transform); + Geom::Affine getEditTranform() const { return _edit_transform; } bool knot_mouseover() const; @@ -83,6 +85,8 @@ protected: bool dragging; + Geom::Affine _edit_transform; + private: KnotHolder(); // declared but not defined }; |
