index 6156f60e6c130e33b62ec17250ff174b85e25ca5..84816ad9c7b52454a8176bb37d675e286026b72b 100644 (file)
--- a/src/helper/png-write.cpp
+++ b/src/helper/png-write.cpp
bbox.y1 = row + num_rows;
/* Update to renderable state */
NRGC gc(NULL);
- nr_matrix_set_identity(&gc.transform);
+ gc.transform.set_identity();
nr_arena_item_invoke_update(ebp->root, &bbox, &gc,
NR_ARENA_ITEM_STATE_ALL, NR_ARENA_ITEM_STATE_NONE);
* (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);