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/ui/shape-editor.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/ui/shape-editor.h')
| -rw-r--r-- | src/ui/shape-editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/shape-editor.h b/src/ui/shape-editor.h index 7f435efca..e30b2d60b 100644 --- a/src/ui/shape-editor.h +++ b/src/ui/shape-editor.h @@ -23,7 +23,7 @@ namespace UI { class ShapeEditor { public: - ShapeEditor(SPDesktop *desktop); + ShapeEditor(SPDesktop *desktop, Geom::Affine edit_transform = Geom::identity()); ~ShapeEditor(); void set_item(SPItem *item, bool keep_knotholder = false); @@ -42,11 +42,11 @@ public: char const * /*new_value*/, bool /*is_interactive*/, void *data); private: void reset_item (bool keep_knotholder = true); - const SPItem *get_item(); static bool _blockSetItem; SPDesktop *desktop; Inkscape::XML::Node *knotholder_listener_attached_for; + Geom::Affine _edit_transform; }; } // namespace UI |
