diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-02-02 21:24:36 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-02-02 21:24:36 +0000 |
| commit | 53933f5fea9d07d1ba6304b88439fba257ee8c34 (patch) | |
| tree | 21f94cd05346fc1236751bb1db3e0850e5aece54 /src/live_effects/lpe-curvestitch.cpp | |
| parent | Translations. French translation minor update. (diff) | |
| download | inkscape-53933f5fea9d07d1ba6304b88439fba257ee8c34.tar.gz inkscape-53933f5fea9d07d1ba6304b88439fba257ee8c34.zip | |
update to latest 2geom !
(bzr r10025)
Diffstat (limited to 'src/live_effects/lpe-curvestitch.cpp')
| -rw-r--r-- | src/live_effects/lpe-curvestitch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/live_effects/lpe-curvestitch.cpp b/src/live_effects/lpe-curvestitch.cpp index 75218705c..80221e7b8 100644 --- a/src/live_effects/lpe-curvestitch.cpp +++ b/src/live_effects/lpe-curvestitch.cpp @@ -27,7 +27,7 @@ #include <2geom/bezier-to-sbasis.h> #include <2geom/sbasis-to-bezier.h> #include <2geom/d2.h> -#include <2geom/matrix.h> +#include <2geom/affine.h> #include "ui/widget/scalar.h" #include "libnr/nr-values.h" @@ -120,7 +120,7 @@ LPECurveStitch::doEffect_path (std::vector<Geom::Path> const & path_in) scaling_y = prop_scale; } - Matrix transform; + Affine transform; transform.setXAxis( (end-start) / scaling ); transform.setYAxis( rot90(unit_vector(end-start)) * scaling_y); transform.setTranslation( start ); @@ -195,7 +195,7 @@ LPECurveStitch::resetDefaults(SPItem * item) * special casing is probably needed, because rotation should not be propagated to the strokepath. */ void -LPECurveStitch::transform_multiply(Geom::Matrix const& postmul, bool set) +LPECurveStitch::transform_multiply(Geom::Affine const& postmul, bool set) { // only take translations into account if (postmul.isTranslation()) { @@ -203,7 +203,7 @@ LPECurveStitch::transform_multiply(Geom::Matrix const& postmul, bool set) } else if (!scale_y_rel.get_value()) { // this basically means that for this transformation, the result should be the same as normal scaling the result path // don't know how to do this yet. -// Geom::Matrix new_postmul; +// Geom::Affine new_postmul; //new_postmul.setIdentity(); // new_postmul.setTranslation(postmul.translation()); // Effect::transform_multiply(new_postmul, set); |
