summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-02-25 16:08:30 +0000
committertavmjong-free <tavmjong@free.fr>2014-02-25 16:08:30 +0000
commit903d68d4df1de1ae21e124d6e9c12770085ea087 (patch)
tree1c1c649d40c2ed9c81c97405c1a590898971cad3 /src/selection-chemistry.h
parentMove filter reordering closer to the layers.cpp patern of reordering xml (diff)
downloadinkscape-903d68d4df1de1ae21e124d6e9c12770085ea087.tar.gz
inkscape-903d68d4df1de1ae21e124d6e9c12770085ea087.zip
Rewrite of symbol creation code. Partial fix for 1201325.
Symbols cannot have 'tranform' attribute. The old code copied the group 'transform' attribute to the symbol. The new code creates an intermediate group with the required 'transform' if it is not a simple translation. A simple translation is removed and applied instead to the new <use> element. Multiple objects can now be turned into a symbol without first grouping the objects. (At the cost that multiple groups can no longer be turned into multiple symbols at one go.) This better matches marker and pattern creation. (bzr r13057)
Diffstat (limited to 'src/selection-chemistry.h')
-rw-r--r--src/selection-chemistry.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selection-chemistry.h b/src/selection-chemistry.h
index e86000f70..d76a67a9d 100644
--- a/src/selection-chemistry.h
+++ b/src/selection-chemistry.h
@@ -69,8 +69,7 @@ void sp_selection_clone_original_path_lpe(SPDesktop *desktop);
void sp_selection_to_marker(SPDesktop *desktop, bool apply = true);
void sp_selection_to_guides(SPDesktop *desktop);
-void sp_selection_symbols(SPDesktop *desktop, bool apply = true);
-void sp_selection_symbol(SPDocument *doc, SPObject *group);
+void sp_selection_symbol(SPDesktop *desktop, bool apply = true);
void sp_selection_unsymbol(SPDesktop *desktop);
void sp_selection_tile(SPDesktop *desktop, bool apply = true);