diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-29 14:55:41 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-29 14:55:41 +0000 |
| commit | c4131a1e32e6d59c5b4eaaa1c49fa2eeaafc76fa (patch) | |
| tree | feadbff514c754fbc762f5ca3301aaef1cf014d8 /src/live_effects | |
| parent | Update helperpaths live also when any of the item's LPEs is modified (diff) | |
| download | inkscape-c4131a1e32e6d59c5b4eaaa1c49fa2eeaafc76fa.tar.gz inkscape-c4131a1e32e6d59c5b4eaaa1c49fa2eeaafc76fa.zip | |
automatically add helperpath for PathParams
(bzr r6457)
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 6 | ||||
| -rw-r--r-- | src/live_effects/parameter/path.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index c954e09df..2d659c2c7 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -217,6 +217,12 @@ PathParam::param_setup_nodepath(Inkscape::NodePath::Path *np) np->helperpath_width = 1.0; } +void +PathParam::addCanvasIndicators(SPLPEItem *lpeitem, std::vector<Geom::PathVector> &hp_vec) +{ + hp_vec.push_back(_pathvector); +} + /* * Only applies transform when not referring to other path! */ diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h index 267ff48ea..76f3fa774 100644 --- a/src/live_effects/parameter/path.h +++ b/src/live_effects/parameter/path.h @@ -47,6 +47,7 @@ public: virtual void param_editOncanvas(SPItem * item, SPDesktop * dt); virtual void param_setup_nodepath(Inkscape::NodePath::Path *np); + virtual void addCanvasIndicators(SPLPEItem *lpeitem, std::vector<Geom::PathVector> &hp_vec); virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/); |
