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-rect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-rect.cpp') diff --git a/src/sp-rect.cpp b/src/sp-rect.cpp index 072c52199..7d3cd1c0c 100644 --- a/src/sp-rect.cpp +++ b/src/sp-rect.cpp @@ -561,7 +561,7 @@ static void sp_rect_snappoints(SPItem const *item, SnapPointsIter p) SPRect *rect = SP_RECT(item); - NR::Matrix const i2d (sp_item_i2d_affine (item)); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine (item))); *p = NR::Point(rect->x.computed, rect->y.computed) * i2d; *p = NR::Point(rect->x.computed, rect->y.computed + rect->height.computed) * i2d; @@ -581,7 +581,7 @@ sp_rect_convert_to_guides(SPItem *item) { SPDocument *doc = SP_OBJECT_DOCUMENT(rect); std::list > pts; - NR::Matrix const i2d (sp_item_i2d_affine(SP_ITEM(rect))); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine(SP_ITEM(rect)))); NR::Point A1(NR::Point(rect->x.computed, rect->y.computed) * i2d); NR::Point A2(NR::Point(rect->x.computed, rect->y.computed + rect->height.computed) * i2d); -- cgit v1.2.3