Code

remove many unnecessary to_2geom and from_2geom calls
[inkscape.git] / src / helper / png-write.cpp
index 69848e9a6995350c909a1989977df0709a07e13a..84816ad9c7b52454a8176bb37d675e286026b72b 100644 (file)
@@ -342,8 +342,8 @@ sp_export_png_file(SPDocument *doc, gchar const *filename,
      * (2) a[5] = -a[3] * y1
      */
 
-    NR::Matrix const affine(NR::translate(-x0, -y0)
-                            * NR::scale(width / (x1 - x0),
+    Geom::Matrix const affine(Geom::Translate(-x0, -y0)
+                            * Geom::Scale(width / (x1 - x0),
                                         height / (y1 - y0)));
 
     //SP_PRINT_MATRIX("SVG2PNG", &affine);