From 90b994e956912ffcea8b752fd2416f7ff6c2658a Mon Sep 17 00:00:00 2001 From: bulia byak Date: Tue, 28 Mar 2006 04:19:47 +0000 Subject: copy rotation center when converting to path (bzr r314) --- src/path-chemistry.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/path-chemistry.cpp') 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); -- cgit v1.2.3