summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-03-28 04:19:47 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-03-28 04:19:47 +0000
commit90b994e956912ffcea8b752fd2416f7ff6c2658a (patch)
treeddc588667f53ac15dbe974db311dbb7b76e966c2 /src
parentcopy rotation center when cloning (diff)
downloadinkscape-90b994e956912ffcea8b752fd2416f7ff6c2658a.tar.gz
inkscape-90b994e956912ffcea8b752fd2416f7ff6c2658a.zip
copy rotation center when converting to path
(bzr r314)
Diffstat (limited to 'src')
-rw-r--r--src/path-chemistry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index 70a30c185..663cd6da4 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -321,6 +321,9 @@ sp_selected_item_to_curved_repr(SPItem *item, guint32 text_grouping_policy)
SP_OBJECT_STYLE(SP_OBJECT_PARENT(item)));
repr->setAttribute("style", style_str);
g_free(style_str);
+ /* Rotation center */
+ sp_repr_set_attr(repr, "inkscape:transform-center-x", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-x"));
+ sp_repr_set_attr(repr, "inkscape:transform-center-y", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-y"));
/* Definition */
gchar *def_str = sp_svg_write_path(curve->bpath);