summaryrefslogtreecommitdiffstats
path: root/src/display
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-09-19 18:40:31 +0000
committerishmal <ishmal@users.sourceforge.net>2008-09-19 18:40:31 +0000
commit6b31ea7ebd4e174d074b78d2259ab1b254ab7880 (patch)
tree1278a76d58c4913b0d7f4af0bc757811d9a45cec /src/display
parentshift+letters are reserved for modes inside tools, so we cannot use them for ... (diff)
downloadinkscape-6b31ea7ebd4e174d074b78d2259ab1b254ab7880.tar.gz
inkscape-6b31ea7ebd4e174d074b78d2259ab1b254ab7880.zip
Tweak of member to Geom class
(bzr r6849)
Diffstat (limited to 'src/display')
-rw-r--r--src/display/canvas-text.cpp2
-rw-r--r--src/display/canvas-text.h4
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;