diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-03-28 04:19:47 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-03-28 04:19:47 +0000 |
| commit | 90b994e956912ffcea8b752fd2416f7ff6c2658a (patch) | |
| tree | ddc588667f53ac15dbe974db311dbb7b76e966c2 /src | |
| parent | copy rotation center when cloning (diff) | |
| download | inkscape-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.cpp | 3 |
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); |
