summaryrefslogtreecommitdiffstats
path: root/src/unclump.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2011-02-02 21:24:36 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2011-02-02 21:24:36 +0000
commit53933f5fea9d07d1ba6304b88439fba257ee8c34 (patch)
tree21f94cd05346fc1236751bb1db3e0850e5aece54 /src/unclump.cpp
parentTranslations. French translation minor update. (diff)
downloadinkscape-53933f5fea9d07d1ba6304b88439fba257ee8c34.tar.gz
inkscape-53933f5fea9d07d1ba6304b88439fba257ee8c34.zip
update to latest 2geom !
(bzr r10025)
Diffstat (limited to 'src/unclump.cpp')
-rw-r--r--src/unclump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unclump.cpp b/src/unclump.cpp
index 1039351a3..951719900 100644
--- a/src/unclump.cpp
+++ b/src/unclump.cpp
@@ -287,7 +287,7 @@ unclump_push (SPItem *from, SPItem *what, double dist)
Geom::Point p = unclump_center (from);
Geom::Point by = dist * Geom::unit_vector (- (p - it));
- Geom::Matrix move = Geom::Translate (by);
+ Geom::Affine move = Geom::Translate (by);
std::map<const gchar *, Geom::Point>::iterator i = c_cache.find(what->getId());
if ( i != c_cache.end() ) {
@@ -310,7 +310,7 @@ unclump_pull (SPItem *to, SPItem *what, double dist)
Geom::Point p = unclump_center (to);
Geom::Point by = dist * Geom::unit_vector (p - it);
- Geom::Matrix move = Geom::Translate (by);
+ Geom::Affine move = Geom::Translate (by);
std::map<const gchar *, Geom::Point>::iterator i = c_cache.find(what->getId());
if ( i != c_cache.end() ) {