Code

No more NRMatrix or NRPoint.
[inkscape.git] / src / libnr / nr-values.cpp
index 846a16bb8a439abf83f7b1c51855fe653f765da3..f828c13962b31bc98b7f38591b07d352da62d19b 100644 (file)
@@ -1,14 +1,14 @@
 #define __NR_VALUES_C__
 
 #include <libnr/nr-rect-l.h>
+#include <libnr/nr-matrix-fns.h>
 
 
 /*
 The following predefined objects are for reference
 and comparison.
 */
-NRMatrix NR_MATRIX_IDENTITY =
-       {{1.0, 0.0, 0.0, 1.0, 0.0, 0.0}};
+NR::Matrix NR_MATRIX_IDENTITY = NR::identity();
 NRRect   NR_RECT_EMPTY(NR_HUGE, NR_HUGE, -NR_HUGE, -NR_HUGE);
 NRRectL  NR_RECT_L_EMPTY =
        {NR_HUGE_L, NR_HUGE_L, -NR_HUGE_L, -NR_HUGE_L};