From 5aef5b03d26910b9c0d34aeef986aa6609bbfc9b Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 12 Aug 2008 22:42:21 +0000 Subject: NR:: to Geom:: for most of src/extension/ (bzr r6612) --- src/sp-image.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/sp-image.cpp') diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 5a02517e2..f49812ac7 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -1068,18 +1068,18 @@ sp_image_print (SPItem *item, SPPrintContext *ctx) rs = gdk_pixbuf_get_rowstride (image->pixbuf); pixskip = gdk_pixbuf_get_n_channels (image->pixbuf) * gdk_pixbuf_get_bits_per_sample (image->pixbuf) / 8; - NR::Matrix t; + Geom::Matrix t; if (image->aspect_align == SP_ASPECT_NONE) { /* fixme: (Lauris) */ - NR::translate tp = NR::translate(image->x.computed, image->y.computed); - NR::scale s = NR::scale(image->width.computed, -image->height.computed); - NR::translate ti = NR::translate(0.0, -1.0); + Geom::Translate tp (image->x.computed, image->y.computed); + Geom::Scale s (image->width.computed, -image->height.computed); + Geom::Translate ti (0.0, -1.0); t = s * tp; t = ti * t; } else { // preserveAspectRatio - NR::translate tp = NR::translate(image->viewx, image->viewy); - NR::scale s = NR::scale(image->viewwidth, -image->viewheight); - NR::translate ti = NR::translate(0.0, -1.0); + Geom::Translate tp (image->viewx, image->viewy); + Geom::Scale s (image->viewwidth, -image->viewheight); + Geom::Translate ti (0.0, -1.0); t = s * tp; t = ti * t; } -- cgit v1.2.3