From 3dfc12e9d3a95d6b68509d0475dd9a56729b6495 Mon Sep 17 00:00:00 2001 From: ishmal Date: Fri, 19 Sep 2008 18:40:31 +0000 Subject: [PATCH] Tweak of member to Geom class --- src/display/canvas-text.cpp | 2 +- src/display/canvas-text.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/display/canvas-text.cpp b/src/display/canvas-text.cpp index a74f2f150..21e1fbd48 100644 --- a/src/display/canvas-text.cpp +++ b/src/display/canvas-text.cpp @@ -141,7 +141,7 @@ sp_canvastext_update (SPCanvasItem *item, Geom::Matrix const &affine, unsigned i cl->affine = affine; - NR::Point s = cl->s * affine; + Geom::Point s = cl->s * affine; // set up a temporary cairo_t to measure the text extents; it would be better to compute this in the render() // method but update() seems to be called before so we don't have the information available when we need it diff --git a/src/display/canvas-text.h b/src/display/canvas-text.h index 54ec8c413..bb732ae6f 100644 --- a/src/display/canvas-text.h +++ b/src/display/canvas-text.h @@ -27,8 +27,8 @@ struct SPCanvasText : public SPCanvasItem{ guint32 rgba; gchar* text; - NR::Point s; - NR::Matrix affine; + Geom::Point s; + Geom::Matrix affine; double fontsize; double anchor_x; double anchor_y; -- 2.30.2