summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix constrained snapping to closing segmentsDiederik van Lierop2010-09-251-10/+37
| | | (bzr r9788)
* When doing a constrained snap, then don't try snapping the mouse pointer ↵Diederik van Lierop2010-08-201-17/+26
| | | | | itself but try snapping its projection (onto the constraint) instead (bzr r9719)
* Fix a crash and add more safety checks to catch NULL pointersDiederik van Lierop2010-08-141-1/+2
| | | (bzr r9713)
* Implement constrained snapping to nodesDiederik van Lierop2010-08-101-13/+40
| | | (bzr r9696)
* 1) Snap to transformation center even if it's outside of the bounding box of ↵Diederik van Lierop2010-07-251-5/+6
| | | | | | | the parent item 2) In some cases the snap source indicator wasn't shown (bzr r9648)
* Avoid self-snapping when dragging a rotation center, and draw the rotation ↵Diederik van Lierop2010-07-241-3/+9
| | | | | center at the snapped position (bzr r9641)
* 1) Fix snapping of guides to nodes/paths; 2) replace a g_assert with a ↵Diederik van Lierop2010-07-211-60/+41
| | | | | return statement (bzr r9638)
* - Remove some old code which snapped the rotation center to the bbox, and ↵Diederik van Lierop2010-07-201-37/+40
| | | | | | | which discarded all of the snapping settings - Improve the logic behind the snapping buttons, i.e. what snaps to what for each of the buttons (bzr r9634)
* Fix snapping to midpoints of closing segmentsDiederik van Lierop2010-07-191-3/+9
| | | (bzr r9627)
* - do not use shift to disable snapping while holding shift to rotate a guideDiederik van Lierop2010-07-181-5/+3
| | | | | | - snap guides to paths too - always show the same snap indicator (bzr r9625)
* Simplify code related to snapping while rotatingDiederik van Lierop2010-07-171-6/+0
| | | (bzr r9619)
* - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-23/+42
| | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
* fix Launchpad bug 593023: crash in constrained snap due to not calling ↵Diederik van Lierop2010-07-011-1/+6
| | | | | | | | setup() before snapping Fixed bugs: - https://launchpad.net/bugs/593023 (bzr r9550)
* Snapping: get rid of the false positives when calculating intersectionsDiederik van Lierop2010-05-221-1/+6
| | | (bzr r9442)
* - "Snap nodes or handles" button now also includes smooth nodesDiederik van Lierop2010-05-211-2/+2
| | | | | - Improved snap tooltips (bzr r9440)
* Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop2010-05-081-2/+2
| | | (bzr r9402)
* Fix snapping regression introduced by rev. #9118Diederik van Lierop2010-04-221-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/562205 (bzr r9364)
* Fix bbox snapping as reported in LP bug #562205Diederik van Lierop2010-04-181-2/+2
| | | | | | Fixed bugs: - https://launchpad.net/bugs/562205 (bzr r9351)
* Fix a memory leak in the object-snapperDiederik van Lierop2010-02-201-1/+1
| | | (bzr r9102)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-27/+21
| | | | | specified explicitly) (bzr r9014)
* When snapping to a bounding box, flash that bounding box together with the ↵Diederik van Lierop2010-01-191-8/+9
| | | | | snap indicator (bzr r8999)
* Warning cleanup.Jon A. Cruz2010-01-151-1/+6
| | | (bzr r8981)
* Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop2010-01-091-90/+66
| | | | | for the devs) (bzr r8960)
* Refactor snapping of gradient handles; now behaves like all other snapping, ↵Diederik van Lierop2010-01-011-9/+9
| | | | | | | | i.e. no more snapping to imaginary infinite lines along the bounding box Fixed bugs: - https://launchpad.net/bugs/371001 (bzr r8932)
* refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop2009-12-241-102/+101
| | | | | which reduces snap jitter) (bzr r8906)
* Fixed warningJon A. Cruz2009-09-261-1/+1
| | | (bzr r8653)
* When dragging a knot along a constraint line, then allow snapping the ↵Diederik van Lierop2009-08-231-3/+3
| | | | | position of the mouse pointer instead of its projection onto the constraint line (for this a check box has been added to the preferences dialog) (bzr r8523)
* Snap guides to intersections of curves too (see bug #405419)Diederik van Lierop2009-07-291-3/+11
| | | (bzr r8361)
* When dragging the origin of a guide along that guide, we should use ↵Diederik van Lierop2009-06-021-11/+26
| | | | | constrained snapping instead of free snapping. Also make sure that we snap to paths too, not just to guides (bzr r7973)
* Two minor snapping fixesDiederik van Lierop2009-04-241-2/+8
| | | (bzr r7770)
* Fix bug #356743Diederik van Lierop2009-04-071-3/+4
| | | (bzr r7662)
* Remove some left-over debugging output that got accidentally committedDiederik van Lierop2009-04-011-1/+0
| | | (bzr r7602)
* More sensitive selection of snap target when snapping guides to objects with ↵Diederik van Lierop2009-03-311-7/+3
| | | | | multiple snap candidates (fixes bug 352247) (bzr r7598)
* Implement constrained snapping when dragging the position and size handles ↵Diederik van Lierop2009-03-151-4/+1
| | | | | of a rectangle in the node tool, with the ctrl-key being pressed. (bzr r7497)
* Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop2009-03-141-2/+0
| | | (bzr r7491)
* 2Geom migration: use 2geom::projection instead of libnr's project_on_linesegmentDiederik van Lierop2009-03-141-2/+3
| | | (bzr r7487)
* - When finalizing a curve by double clicking then don't snap to the curve itselfDiederik van Lierop2009-03-071-0/+3
| | | | | - When a node and an intersection coincide then snap to the node, not the intersection (but only if snapping is turned on for both of them of course) (bzr r7438)
* Allow snapping to objects in hidden layersDiederik van Lierop2009-02-271-3/+3
| | | (bzr r7389)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-37/+42
| | | | | displayed "B". (bzr r7335)
* After snapping, show a tooltip together with the snap indicatorDiederik van Lierop2009-02-151-16/+16
| | | (bzr r7296)
* Store the snapper tolerances in the snap-preferences instead of in each ↵Diederik van Lierop2009-01-311-0/+15
| | | | | snapper individualy. This way we don't have to update all snappers when the namedview has been updated (and we can get rid of the _update_snap_distances() call) (bzr r7208)
* - Snap to the midpoint of shapes and bboxesDiederik van Lierop2009-01-181-63/+74
| | | | | | | - 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)
* Optionally snap from/to midpoints of the edges of a bounding boxDiederik van Lierop2009-01-111-5/+15
| | | (bzr r7108)
* Remove some obsolete from_2geom() callsDiederik van Lierop2008-12-301-1/+1
| | | (bzr r7043)
* propagate additional_affine into groups of clip/mask pathsThomas Holder2008-12-201-1/+1
| | | (bzr r7017)
* object-snapper.cppThomas Holder2008-12-201-10/+4
| | | | | | | | | | | | | | | | | | | * fix snapping to clip/mask with parent transform * replace matrix_to_desktop call sp-item.h sp-item.cpp * improve snapping to clip/mask with parent transform * remove matrix_to_desktop/matrix_from_desktop * use desktop->doc2dt() with sp_item_i2d_affine(...) desktop.h desktop.cpp * new method: dt2doc() selection-chemistry.cpp * remove awkward matrix_to_desktop(matrix_from_desktop(...)) calls (bzr r7016)
* 1) snap midpoints of line segments (both as source and as target)Diederik van Lierop2008-12-141-132/+160
| | | | | 2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
* 1) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop2008-11-231-2/+2
| | | | | | | | finding the best snap 2) Use this distance also when snapping nodes in the path editor 3) Add a slider in the preferences dialog to control the weighing of this distance (bzr r6895)
* Merge from fe-movedTed Gould2008-11-211-13/+22
| | | (bzr r6891)
* From trunkTed Gould2008-10-271-26/+28
| | | (bzr r6885)