summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-12 20:20:51 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-12 20:20:51 +0000
commit21f04a292dafc2cfd1374609720c458124c5b9a4 (patch)
tree1a38adb5df88eb36bafb6d055b55faf6b0d69cba /src/sp-shape.cpp
parentupdate 2geom (diff)
downloadinkscape-21f04a292dafc2cfd1374609720c458124c5b9a4.tar.gz
inkscape-21f04a292dafc2cfd1374609720c458124c5b9a4.zip
change NR::Matrix to Geom:: for many sp_item_xxx_affine functions
(bzr r5915)
Diffstat (limited to 'src/sp-shape.cpp')
-rw-r--r--src/sp-shape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index 2ed92c5f5..4ae2a98f8 100644
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
@@ -726,7 +726,7 @@ sp_shape_print (SPItem *item, SPPrintContext *ctx)
dbox.x1 = sp_document_width (SP_OBJECT_DOCUMENT (item));
dbox.y1 = sp_document_height (SP_OBJECT_DOCUMENT (item));
sp_item_bbox_desktop (item, &bbox);
- NR::Matrix const i2d = sp_item_i2d_affine(item);
+ NR::Matrix const i2d = from_2geom(sp_item_i2d_affine(item));
SPStyle* style = SP_OBJECT_STYLE (item);
@@ -1047,7 +1047,7 @@ static void sp_shape_snappoints(SPItem const *item, SnapPointsIter p)
return;
}
- NR::Matrix const i2d (sp_item_i2d_affine (item));
+ NR::Matrix const i2d (from_2geom(sp_item_i2d_affine (item)));
NArtBpath const *b = SP_CURVE_BPATH(shape->curve);
// Cycle through the nodes in the concatenated subpaths