1 // SPDX-License-Identifier: GPL-2.0-or-later
2 #ifndef SEEN_PATH_CHEMISTRY_H
3 #define SEEN_PATH_CHEMISTRY_H
4 
5 /*
6  * Here are handlers for modifying selections, specific to paths
7  *
8  * Authors:
9  *   Lauris Kaplinski <lauris@kaplinski.com>
10  *
11  * Copyright (C) 1999-2002 authors
12  * Copyright (C) 2001-2002 Ximian, Inc.
13  *
14  * Released under GNU GPL v2+, read the file 'COPYING' for more information.
15  */
16 
17 #include <vector>
18 
19 class SPDesktop;
20 class SPItem;
21 
22 namespace Inkscape {
23 class Selection;
24 class ObjectSet;
25 namespace XML {
26 class Node;
27 } // namespace XML
28 
29 void copy_object_properties(XML::Node *dest, XML::Node const *src);
30 } // namespace Inkscape
31 
32 typedef unsigned int guint32;
33 
34 //void sp_selected_path_combine (SPDesktop *desktop, bool skip_undo = false);
35 //void sp_selected_path_break_apart (SPDesktop *desktop, bool skip_undo = false);
36     //interactive=true only has an effect if desktop != NULL, i.e. if a GUI is available
37 //void sp_selected_path_to_curves (Inkscape::Selection *selection, SPDesktop *desktop, bool interactive = true);
38 //void sp_selected_to_lpeitems(ObjectSet *selection);
39 Inkscape::XML::Node *sp_selected_item_to_curved_repr(SPItem *item, guint32 text_grouping_policy);
40 //void sp_selected_path_reverse (SPDesktop *desktop);
41 bool sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*> &selected, std::vector<Inkscape::XML::Node*> &to_select, bool skip_all_lpeitems = false);
42 
43 #endif // SEEN_PATH_CHEMISTRY_H
44 
45 /*
46   Local Variables:
47   mode:c++
48   c-file-style:"stroustrup"
49   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50   indent-tabs-mode:nil
51   fill-column:99
52   End:
53 */
54 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
55