summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-chemistry.h')
-rw-r--r--src/path-chemistry.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/path-chemistry.h b/src/path-chemistry.h
new file mode 100644
index 0000000..7114e57
--- /dev/null
+++ b/src/path-chemistry.h
@@ -0,0 +1,56 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+#ifndef SEEN_PATH_CHEMISTRY_H
+#define SEEN_PATH_CHEMISTRY_H
+
+/*
+ * Here are handlers for modifying selections, specific to paths
+ *
+ * Authors:
+ * Lauris Kaplinski <lauris@kaplinski.com>
+ *
+ * Copyright (C) 1999-2002 authors
+ * Copyright (C) 2001-2002 Ximian, Inc.
+ *
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
+
+#include <vector>
+
+class SPDesktop;
+class SPDocument;
+class SPItem;
+
+namespace Inkscape {
+class Selection;
+class ObjectSet;
+namespace XML {
+class Node;
+} // namespace XML
+
+void convert_text_to_curves(SPDocument *);
+void copy_object_properties(XML::Node *dest, XML::Node const *src);
+} // namespace Inkscape
+
+typedef unsigned int guint32;
+
+//void sp_selected_path_combine (SPDesktop *desktop, bool skip_undo = false);
+//void sp_selected_path_break_apart (SPDesktop *desktop, bool skip_undo = false);
+ //interactive=true only has an effect if desktop != NULL, i.e. if a GUI is available
+//void sp_selected_path_to_curves (Inkscape::Selection *selection, SPDesktop *desktop, bool interactive = true);
+//void sp_selected_to_lpeitems(ObjectSet *selection);
+Inkscape::XML::Node *sp_selected_item_to_curved_repr(SPItem *item, guint32 text_grouping_policy);
+//void sp_selected_path_reverse (SPDesktop *desktop);
+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);
+
+#endif // SEEN_PATH_CHEMISTRY_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :