Code

No more NRMatrix or NRPoint.
[inkscape.git] / src / livarot / ShapeMisc.cpp
index 2b398ef7c34b4621a221be5fe35bbd5a445004f0..7000bb115618530c49ff728bbff8d60281fdd8ea 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include "livarot/Shape.h"
+#include <libnr/nr-matrix-fns.h>
 #include <libnr/nr-point-fns.h>
 #include "livarot/Path.h"
 #include "livarot/path-description.h"
@@ -634,7 +635,7 @@ Shape::MakeTweak (int mode, Shape *a, double power, JoinType join, double miter,
                if (this_power != 0)
                        done_something = true;
 
-               double scaler = 1 / (*i2doc).expansion();
+               double scaler = 1 / NR::expansion(*i2doc);
 
                NR::Point this_vec(0,0);
     if (mode == tweak_mode_push) {