summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f043204)
raw | patch | inline | side by side (parent: f043204)
author | speleo3 <speleo3@users.sourceforge.net> | |
Tue, 9 Dec 2008 19:31:12 +0000 (19:31 +0000) | ||
committer | speleo3 <speleo3@users.sourceforge.net> | |
Tue, 9 Dec 2008 19:31:12 +0000 (19:31 +0000) |
src/sp-item.cpp | patch | blob | history | |
src/sp-item.h | patch | blob | history |
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 01f266594729dbee5f9ad93d5ba808a60701d3b8..78561de1b50fbcb2ba640cc93f340784350e3bba 100644 (file)
--- 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 1cc05eb25aab3e0114bdc9119198899021056528..a2a9c1ba385b31d7ab4aef0090522f632ad0d8e5 100644 (file)
--- a/src/sp-item.h
+++ b/src/sp-item.h
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);