diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-01-18 20:00:19 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-01-18 20:00:19 +0000 |
| commit | 644f4f4a93a81735fb8265907533308df80d6b11 (patch) | |
| tree | 47a80b1dc162b88a063b295dbae920cc2a668e93 /src/attributes.cpp | |
| parent | snap indicator: try a diamond shaped indicator for snapping to nodes. see how... (diff) | |
| download | inkscape-644f4f4a93a81735fb8265907533308df80d6b11.tar.gz inkscape-644f4f4a93a81735fb8265907533308df80d6b11.zip | |
- Snap to the midpoint of shapes and bboxes
- Snap to the midpoint of paths and bbox edges
- Refactor the snapping toggle, i.e. what snaps to what when toggling a specific option in the snapping toolbar
PS: icons.svg has been modified, so use "make install" if needed
(bzr r7144)
Diffstat (limited to 'src/attributes.cpp')
| -rw-r--r-- | src/attributes.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp index 1ee33ef83..049632e50 100644 --- a/src/attributes.cpp +++ b/src/attributes.cpp @@ -92,8 +92,11 @@ static SPStyleProp const props[] = { {SP_ATTR_INKSCAPE_SNAP_GUIDE, "inkscape:snap-guide"}, {SP_ATTR_INKSCAPE_SNAP_CENTER, "inkscape:snap-center"}, {SP_ATTR_INKSCAPE_SNAP_SMOOTH_NODES, "inkscape:snap-smooth-nodes"}, - {SP_ATTR_INKSCAPE_SNAP_MIDPOINTS, "inkscape:snap-midpoints"}, - {SP_ATTR_INKSCAPE_SNAP_INTERS_GRIDGUIDE, "inkscape:snap-intersection-grid-guide"}, + {SP_ATTR_INKSCAPE_SNAP_LINE_MIDPOINTS, "inkscape:snap-midpoints"}, + {SP_ATTR_INKSCAPE_SNAP_OBJECT_MIDPOINTS, "inkscape:snap-object-midpoints"}, + {SP_ATTR_INKSCAPE_SNAP_BBOX_EDGE_MIDPOINTS, "inkscape:snap-bbox-edge-midpoints"}, + {SP_ATTR_INKSCAPE_SNAP_BBOX_MIDPOINTS, "inkscape:snap-bbox-midpoints"}, + {SP_ATTR_INKSCAPE_SNAP_INTERS_GRIDGUIDE, "inkscape:snap-intersection-grid-guide"}, {SP_ATTR_INKSCAPE_SNAP_INTERS_PATHS, "inkscape:snap-intersection-paths"}, {SP_ATTR_INKSCAPE_OBJECT_PATHS, "inkscape:object-paths"}, {SP_ATTR_INKSCAPE_OBJECT_NODES, "inkscape:object-nodes"}, |
