diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-01-18 22:38:27 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-01-18 22:38:27 +0000 |
| commit | 4add5cce730342f404649964dd149c1139217446 (patch) | |
| tree | 05ef0232af87aed6ba62237e98354b3b8111bb8c /src | |
| parent | Partially fix bug #167500 (rulers being off) (diff) | |
| download | inkscape-4add5cce730342f404649964dd149c1139217446.tar.gz inkscape-4add5cce730342f404649964dd149c1139217446.zip | |
add default functions for transforming lpe-pathalongpath.cpp and lpe-skeletalstrokes.cpp
(bzr r4558)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-pathalongpath.cpp | 8 | ||||
| -rw-r--r-- | src/live_effects/lpe-pathalongpath.h | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-skeletalstrokes.cpp | 7 | ||||
| -rw-r--r-- | src/live_effects/lpe-skeletalstrokes.h | 2 |
4 files changed, 19 insertions, 0 deletions
diff --git a/src/live_effects/lpe-pathalongpath.cpp b/src/live_effects/lpe-pathalongpath.cpp index b3d0fdd4c..d41a0d6f6 100644 --- a/src/live_effects/lpe-pathalongpath.cpp +++ b/src/live_effects/lpe-pathalongpath.cpp @@ -206,6 +206,14 @@ LPEPathAlongPath::resetDefaults(SPItem * item) */ } +void +LPEPathAlongPath::transform_multiply(Geom::Matrix const& postmul, bool set) +{ + // TODO: implement correct transformation instead of this default behavior + Effect::transform_multiply(postmul, set); +} + + } // namespace LivePathEffect } /* namespace Inkscape */ diff --git a/src/live_effects/lpe-pathalongpath.h b/src/live_effects/lpe-pathalongpath.h index b556efd88..139955d6b 100644 --- a/src/live_effects/lpe-pathalongpath.h +++ b/src/live_effects/lpe-pathalongpath.h @@ -34,6 +34,8 @@ public: virtual void resetDefaults(SPItem * item); + virtual void transform_multiply(Geom::Matrix const& postmul, bool set); + private: PathParam bend_path; //PathParam width_path; diff --git a/src/live_effects/lpe-skeletalstrokes.cpp b/src/live_effects/lpe-skeletalstrokes.cpp index a2fe2be8a..6ba9ac65c 100644 --- a/src/live_effects/lpe-skeletalstrokes.cpp +++ b/src/live_effects/lpe-skeletalstrokes.cpp @@ -153,6 +153,13 @@ LPESkeletalStrokes::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pw return output; } +void +LPESkeletalStrokes::transform_multiply(Geom::Matrix const& postmul, bool set) +{ + // TODO: implement correct transformation instead of this default behavior + Effect::transform_multiply(postmul, set); +} + } // namespace LivePathEffect } /* namespace Inkscape */ diff --git a/src/live_effects/lpe-skeletalstrokes.h b/src/live_effects/lpe-skeletalstrokes.h index b7739471c..f57e8f2ca 100644 --- a/src/live_effects/lpe-skeletalstrokes.h +++ b/src/live_effects/lpe-skeletalstrokes.h @@ -32,6 +32,8 @@ public: virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in); + virtual void transform_multiply(Geom::Matrix const& postmul, bool set); + private: PathParam pattern; EnumParam<SkelCopyType> copytype; |
