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/box3d.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/box3d.cpp')
| -rw-r--r-- | src/box3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp index f4921bc1a..2a8d24167 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -407,7 +407,7 @@ box3d_get_corner_screen (SPBox3D const *box, guint id, bool item_coords) { if (!box3d_get_perspective(box)) { return NR::Point (NR_HUGE, NR_HUGE); } - NR::Matrix const i2d (sp_item_i2d_affine (SP_ITEM(box))); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine (SP_ITEM(box)))); if (item_coords) { return box3d_get_perspective(box)->tmat.image(proj_corner).affine() * i2d.inverse(); } else { @@ -431,7 +431,7 @@ box3d_get_center_screen (SPBox3D *box) { if (!box3d_get_perspective(box)) { return NR::Point (NR_HUGE, NR_HUGE); } - NR::Matrix const i2d (sp_item_i2d_affine (SP_ITEM(box))); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine (SP_ITEM(box)))); return box3d_get_perspective(box)->tmat.image(proj_center).affine() * i2d.inverse(); } |
