summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-dynastroke.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-dynastroke.cpp')
-rw-r--r--src/live_effects/lpe-dynastroke.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/lpe-dynastroke.cpp b/src/live_effects/lpe-dynastroke.cpp
index a9f9202e9..0fd31dccf 100644
--- a/src/live_effects/lpe-dynastroke.cpp
+++ b/src/live_effects/lpe-dynastroke.cpp
@@ -166,12 +166,12 @@ LPEDynastroke::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & p
std::cout<<"ellptic pen\n";
//FIXME: roundness=0???
double c = cos(angle_rad), s = sin(angle_rad);
- Matrix rot,slant;
- rot = Matrix(c, -s, s, c, 0, 0 );
- slant = Matrix(double(width)*roundness, 0, 0, double(width), 0, 0 );
+ Affine rot,slant;
+ rot = Affine(c, -s, s, c, 0, 0 );
+ slant = Affine(double(width)*roundness, 0, 0, double(width), 0, 0 );
Piecewise<D2<SBasis> > nn = unitVector(v * ( rot * slant ) );
- slant = Matrix( 0,-roundness, 1, 0, 0, 0 );
- rot = Matrix(-s, -c, c, -s, 0, 0 );
+ slant = Affine( 0,-roundness, 1, 0, 0, 0 );
+ rot = Affine(-s, -c, c, -s, 0, 0 );
nn = nn * (slant * rot );
n1 = nn*double(width);