summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-17 22:00:40 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-17 22:00:40 +0000
commitb8d2a2d3b528d90cd88f96fd4a32b077c98776d5 (patch)
treeaa819f1acb877a25050e6dd559ba2b07daf69154 /src/sp-path.cpp
parentNR::Point : add cast operator to Geom::Point (diff)
downloadinkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.tar.gz
inkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.zip
convert all SPCurve's points and matrices arguments and return types to 2Geom
(bzr r6339)
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 47d63b2b9..0867cc3ad 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -361,10 +361,10 @@ sp_path_set_transform(SPItem *item, NR::Matrix const &xform)
// Transform the original-d path or the (ordinary) path
if (path->original_curve) {
- path->original_curve->transform(xform);
+ path->original_curve->transform(to_2geom(xform));
sp_lpe_item_update_patheffect(path, true, true);
} else {
- shape->curve->transform(xform);
+ shape->curve->transform(to_2geom(xform));
}
// Adjust stroke