diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-12 20:20:51 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-12 20:20:51 +0000 |
| commit | 21f04a292dafc2cfd1374609720c458124c5b9a4 (patch) | |
| tree | 1a38adb5df88eb36bafb6d055b55faf6b0d69cba /src/arc-context.cpp | |
| parent | update 2geom (diff) | |
| download | inkscape-21f04a292dafc2cfd1374609720c458124c5b9a4.tar.gz inkscape-21f04a292dafc2cfd1374609720c458124c5b9a4.zip | |
change NR::Matrix to Geom:: for many sp_item_xxx_affine functions
(bzr r5915)
Diffstat (limited to 'src/arc-context.cpp')
| -rw-r--r-- | src/arc-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp index e1cbaf1cc..b8f7e30e6 100644 --- a/src/arc-context.cpp +++ b/src/arc-context.cpp @@ -450,7 +450,7 @@ static void sp_arc_drag(SPArcContext *ac, NR::Point pt, guint state) NR::Point c = r.midpoint(); if (!ctrl_save) { if (fabs(dir[NR::X]) > 1E-6 && fabs(dir[NR::Y]) > 1E-6) { - NR::Matrix const i2d (sp_item_i2d_affine (ac->item)); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine (ac->item))); NR::Point new_dir = pt * i2d - c; new_dir[NR::X] *= dir[NR::Y] / dir[NR::X]; double lambda = NR::L2(new_dir) / dir[NR::Y]; |
