summaryrefslogtreecommitdiffstats
path: root/src/arc-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/arc-context.cpp')
-rw-r--r--src/arc-context.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp
index 6e5b935f1..96f5e1cff 100644
--- a/src/arc-context.cpp
+++ b/src/arc-context.cpp
@@ -14,8 +14,6 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#define __SP_ARC_CONTEXT_C__
-
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
@@ -447,7 +445,7 @@ static void sp_arc_drag(SPArcContext *ac, Geom::Point pt, guint state)
Geom::Point c = r.midpoint();
if (!ctrl_save) {
if (fabs(dir[Geom::X]) > 1E-6 && fabs(dir[Geom::Y]) > 1E-6) {
- Geom::Affine const i2d ((ac->item)->i2d_affine ());
+ Geom::Affine const i2d ( (ac->item)->i2dt_affine() );
Geom::Point new_dir = pt * i2d - c;
new_dir[Geom::X] *= dir[Geom::Y] / dir[Geom::X];
double lambda = new_dir.length() / dir[Geom::Y];