summaryrefslogtreecommitdiffstats
path: root/src/conn-avoid-ref.h
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2006-01-20 04:12:21 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2006-01-20 04:12:21 +0000
commitb01791161926320dbb8b9a5435ea2fb470c32795 (patch)
treec61cf814c6f1a3a840cf5a9efdc3f6f961b9c9e6 /src/conn-avoid-ref.h
parentUpdate to gtk28 (diff)
downloadinkscape-b01791161926320dbb8b9a5435ea2fb470c32795.tar.gz
inkscape-b01791161926320dbb8b9a5435ea2fb470c32795.zip
* src/widgets/toolbox.cpp, src/widgets/desktop-widget.cpp,
src/conn-avoid-ref.cpp, src/conn-avoid-ref.h, src/sp-namedview.cpp, src/sp-namedview.h, src/attributes.cpp, src/attributes.h, src/attributes-test.cpp: Added a "Spacing" control to the connector toolbar which allows the user to adjust the amount of space left around avoided shapes for the purpose of determining auto-routing connector paths. (bzr r18)
Diffstat (limited to 'src/conn-avoid-ref.h')
-rw-r--r--src/conn-avoid-ref.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/conn-avoid-ref.h b/src/conn-avoid-ref.h
index 3b5e6d3b5..ac9295cf9 100644
--- a/src/conn-avoid-ref.h
+++ b/src/conn-avoid-ref.h
@@ -42,6 +42,12 @@ private:
sigc::connection _transformed_connection;
};
+extern GSList *get_avoided_items(GSList *list, SPObject *from,
+ SPDesktop *desktop, bool initialised = true);
+extern void avoid_item_move(NR::Matrix const *mp, SPItem *moved_item);
+extern void init_avoided_shape_geometry(SPDesktop *desktop);
+
+static const double defaultConnSpacing = 10.0;
#endif /* !SEEN_CONN_AVOID_REF */