summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathSimplify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/livarot/PathSimplify.cpp')
-rw-r--r--src/livarot/PathSimplify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livarot/PathSimplify.cpp b/src/livarot/PathSimplify.cpp
index c04979fe9..7b04f028a 100644
--- a/src/livarot/PathSimplify.cpp
+++ b/src/livarot/PathSimplify.cpp
@@ -252,7 +252,7 @@ bool Path::FitCubic(Geom::Point const &start, PathDescrCubicTo &res,
Geom::Point const end = res.p;
// la matrice tNN
- Geom::Matrix M(0, 0, 0, 0, 0, 0);
+ Geom::Affine M(0, 0, 0, 0, 0, 0);
for (int i = 1; i < nbPt - 1; i++) {
M[0] += N13(tk[i]) * N13(tk[i]);
M[1] += N23(tk[i]) * N13(tk[i]);
@@ -267,7 +267,7 @@ bool Path::FitCubic(Geom::Point const &start, PathDescrCubicTo &res,
return false;
}
- Geom::Matrix const iM = M.inverse();
+ Geom::Affine const iM = M.inverse();
M = iM;
// phase 1: abcisses