diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-01 19:18:17 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-01 19:18:17 +0000 |
| commit | 83d336efc7f8c134e7ca07eab2f165c7362fc63d (patch) | |
| tree | 667dd8aaa5981991940fd9bc505682ff44d77205 /src/live_effects/lpegroupbbox.cpp | |
| parent | make redundant. use correct fields of cubic bezier point array (diff) | |
| download | inkscape-83d336efc7f8c134e7ca07eab2f165c7362fc63d.tar.gz inkscape-83d336efc7f8c134e7ca07eab2f165c7362fc63d.zip | |
remove more NR:: from live_effects code
(bzr r6515)
Diffstat (limited to 'src/live_effects/lpegroupbbox.cpp')
| -rw-r--r-- | src/live_effects/lpegroupbbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/live_effects/lpegroupbbox.cpp b/src/live_effects/lpegroupbbox.cpp index e9cf05099..2ea839892 100644 --- a/src/live_effects/lpegroupbbox.cpp +++ b/src/live_effects/lpegroupbbox.cpp @@ -21,15 +21,15 @@ GroupBBoxEffect::original_bbox(SPLPEItem *lpeitem, bool absolute) // Get item bounding box SPItem* item = SP_ITEM(lpeitem); - NR::Matrix transform; + Geom::Matrix transform; if (absolute) { - transform = from_2geom(sp_item_i2doc_affine(item)); + transform = sp_item_i2doc_affine(item); } else { - transform = NR::identity(); + transform = Geom::identity(); } - NR::Maybe<NR::Rect> itemBBox = item->getBounds(transform, SPItem::GEOMETRIC_BBOX); + NR::Maybe<NR::Rect> itemBBox = item->getBounds(from_2geom(transform), SPItem::GEOMETRIC_BBOX); // NR to Geom glue Geom::Rect geomBBox = Geom::Rect(itemBBox->min(), itemBBox->max()); |
