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 4ebed0efd..fb2aa55e2 100644
--- a/src/livarot/PathSimplify.cpp
+++ b/src/livarot/PathSimplify.cpp
@@ -251,7 +251,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]);
@@ -266,7 +266,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