From: speleo3 Date: Tue, 9 Dec 2008 19:31:12 +0000 (+0000) Subject: remove orphaned NRMatrix wrapper for sp_item_write_transform X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9ed1b0df977a28a182a50dd15393301eb67253d;p=inkscape.git remove orphaned NRMatrix wrapper for sp_item_write_transform --- diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 01f266594..78561de1b 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -1376,19 +1376,6 @@ sp_item_adjust_livepatheffect (SPItem *item, Geom::Matrix const &postmul, bool s } } -/** - * A temporary wrapper for the next function accepting the Geom::Matrix - * instead of Geom::Matrix - */ -void -sp_item_write_transform(SPItem *item, Inkscape::XML::Node *repr, Geom::Matrix const *transform, Geom::Matrix const *adv) -{ - if (transform == NULL) - sp_item_write_transform(item, repr, Geom::identity(), adv); - else - sp_item_write_transform(item, repr, *transform, adv); -} - /** * Set a new transform on an object. * diff --git a/src/sp-item.h b/src/sp-item.h index 1cc05eb25..a2a9c1ba3 100644 --- a/src/sp-item.h +++ b/src/sp-item.h @@ -238,7 +238,6 @@ void sp_item_adjust_stroke_width_recursive(SPItem *item, gdouble ex); void sp_item_adjust_paint_recursive(SPItem *item, Geom::Matrix advertized_transform, Geom::Matrix t_ancestors, bool is_pattern); void sp_item_adjust_livepatheffect(SPItem *item, Geom::Matrix const &postmul, bool set = false); -void sp_item_write_transform(SPItem *item, Inkscape::XML::Node *repr, Geom::Matrix const *transform, Geom::Matrix const *adv = NULL); void sp_item_write_transform(SPItem *item, Inkscape::XML::Node *repr, Geom::Matrix const &transform, Geom::Matrix const *adv = NULL, bool compensate = true); void sp_item_set_item_transform(SPItem *item, Geom::Matrix const &transform);