diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-01-02 18:10:43 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-01-02 18:10:43 +0000 |
| commit | 4517038755f4211da3b5e9afb5567e9d608875da (patch) | |
| tree | 6b8c8407c5e099d449cb206a7d9077221bd4cc2e /src/live_effects/effect.cpp | |
| parent | add libnr <=> 2geom conversion helper headerfile (diff) | |
| download | inkscape-4517038755f4211da3b5e9afb5567e9d608875da.tar.gz inkscape-4517038755f4211da3b5e9afb5567e9d608875da.zip | |
+ Fix bug #179840, forking of LPEs
+ Groundwork for fixing transforming LPE bugs. TODO: implement the actual transformation of LPE parameters.
(bzr r4367)
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 117fbcdb7..21c1d6719 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -6,6 +6,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include "live_effects/effect.h" + #include "display/display-forward.h" #include "xml/node-event-vector.h" #include "sp-object.h" @@ -16,17 +18,19 @@ #include "document.h" #include <glibmm/i18n.h> -#include "live_effects/effect.h" #include "live_effects/lpeobject.h" #include "live_effects/parameter/parameter.h" #include <glibmm/ustring.h> #include "live_effects/n-art-bpath-2geom.h" #include "display/curve.h" -#include <2geom/sbasis-to-bezier.h> #include <gtkmm.h> #include <exception> +#include <2geom/sbasis-to-bezier.h> +#include <2geom/matrix.h> + + // include effects: #include "live_effects/lpe-skeletalstrokes.h" #include "live_effects/lpe-pathalongpath.h" @@ -351,6 +355,14 @@ Effect::setup_notepath(Inkscape::NodePath::Path *np) np->helperpath_width = 1.0; } +void +Effect::transform_multiply(Geom::Matrix const& postmul, bool set) +{ + // cycle through all parameters. Most parameters will not need transformation, but path and point params do. + for (std::vector<Parameter *>::iterator it = param_vector.begin(); it != param_vector.end(); it++) { + Parameter * param = *it; + } +} } /* namespace LivePathEffect */ |
