diff options
| -rw-r--r-- | src/sp-item.cpp | 13 | ||||
| -rw-r--r-- | src/sp-item.h | 1 |
2 files changed, 0 insertions, 14 deletions
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 @@ -1377,19 +1377,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. * * Compensate for stroke scaling and gradient/pattern fill transform, if 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); |
