From e182d3546498c8c865fb155481890c5571430c6f Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Tue, 14 Feb 2012 21:56:34 +0100 Subject: 1) Add checkboxes for perpendicular and tangential snapping to the document properties dialog (on the snap tab) 2) Newly created guides (dragged off the ruler) will take on the angle of the curve that's being snapped to (either perpendicularly or tangentialy, depending of the settings in the document properties dialog) (bzr r10975) --- src/attributes.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/attributes.cpp') diff --git a/src/attributes.cpp b/src/attributes.cpp index 9203d916b..87cc0488c 100644 --- a/src/attributes.cpp +++ b/src/attributes.cpp @@ -91,6 +91,8 @@ static SPStyleProp const props[] = { {SP_ATTR_INKSCAPE_WINDOW_Y, "inkscape:window-y"}, {SP_ATTR_INKSCAPE_WINDOW_MAXIMIZED, "inkscape:window-maximized"}, {SP_ATTR_INKSCAPE_SNAP_GLOBAL, "inkscape:snap-global"}, + {SP_ATTR_INKSCAPE_SNAP_PERP, "inkscape:snap-perpendicular"}, + {SP_ATTR_INKSCAPE_SNAP_TANG, "inkscape:snap-tangential"}, {SP_ATTR_INKSCAPE_SNAP_BBOX, "inkscape:snap-bbox"}, {SP_ATTR_INKSCAPE_SNAP_NODE, "inkscape:snap-nodes"}, {SP_ATTR_INKSCAPE_SNAP_OTHERS, "inkscape:snap-others"}, -- cgit v1.2.3