From 21f04a292dafc2cfd1374609720c458124c5b9a4 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 12 Jun 2008 20:20:51 +0000 Subject: change NR::Matrix to Geom:: for many sp_item_xxx_affine functions (bzr r5915) --- src/sp-path.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-path.cpp') diff --git a/src/sp-path.cpp b/src/sp-path.cpp index 173e44440..16c8b85f4 100644 --- a/src/sp-path.cpp +++ b/src/sp-path.cpp @@ -148,7 +148,7 @@ sp_path_convert_to_guides(SPItem *item) SPDocument *doc = SP_OBJECT_DOCUMENT(path); std::list > pts; - NR::Matrix const i2d (sp_item_i2d_affine(SP_ITEM(path))); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine(SP_ITEM(path)))); SPCurve *curve = SP_SHAPE(path)->curve; if (!curve) return; @@ -514,7 +514,7 @@ void freehand_create_single_dot(SPEventContext *ec, NR::Point const &pt, char co /* put the circle where the mouse click occurred and set the diameter to the current stroke width, multiplied by the amount specified in the preferences */ - NR::Matrix const i2d (sp_item_i2d_affine (item)); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine (item))); NR::Point pp = pt * i2d; double rad = 0.5 * prefs_get_double_attribute(tool, "dot-size", 3.0); if (event_state & GDK_MOD1_MASK) { -- cgit v1.2.3