summaryrefslogtreecommitdiffstats
path: root/src/snap.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1) Cycle to the next-closest-snap-source when pressing tab, if the ↵Diederik van Lierop2011-11-041-8/+7
| | | | | | | snap-closest-point-only-option has been activated. Works for the selector tool, but also when scaling/stretching/skewing a selection of nodes in the node tool 2) Cleanup and simplification of the code that finds the closest snapsource (bzr r10720)
* Fixing more broken and split doc comments.Jon A. Cruz2011-10-271-8/+322
| | | (bzr r10697)
* 1) make snapping to clip/mask paths optional (see document properties dialog ↵Diederik van Lierop2011-10-081-2/+6
| | | | | | | | -> snap tab) 2) for debugging purposes: code added for showing all snap candidates 3) groundwork for tangential/perpendicular snapping (bzr r10672)
* Cleanup for src/forward.h. (About 19 of the affected files did not require ↵Jon A. Cruz2011-10-051-0/+1
| | | | | the contents forward.h at all). (bzr r10667)
* Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop2011-09-021-1/+1
| | | | | "IntermSnapResults" (bzr r10612)
* Allow snapping to path intersections without snapping to the paths themselvesDiederik van Lierop2011-08-271-1/+1
| | | (bzr r10585)
* Node tool: snap while scaling a selection of nodes. Consider this as ↵Diederik van Lierop2010-12-271-8/+9
| | | | | experimental; needs cleanup! (bzr r9985)
* Shift should disable snapping when dragging the rotation center of an objectDiederik van Lierop2010-11-171-2/+3
| | | (bzr r9903)
* Leave constrained angular snapping to the snap manager, instead of handling ↵Diederik van Lierop2010-11-071-0/+5
| | | | | it locally (bzr r9880)
* Fix self-snapping when dragging the transformation center of a selection ↵Diederik van Lierop2010-10-071-4/+4
| | | | | containing multiple items (as reported by LucaDC in LP #607107, comment #30) (bzr r9817)
* Fix a crash introduced by my previous commitDiederik van Lierop2010-08-111-1/+0
| | | (bzr r9701)
* Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop2010-08-111-0/+6
| | | (bzr r9697)
* Add a constrained snap method that takes multiple constraints. This reduces ↵Diederik van Lierop2010-08-071-0/+4
| | | | | the code repetitiveness in the node tool (bzr r9692)
* Avoid self-snapping when dragging a rotation center, and draw the rotation ↵Diederik van Lierop2010-07-241-0/+9
| | | | | center at the snapped position (bzr r9641)
* - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-12/+15
| | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
* Don't snap to points which are off-screenDiederik van Lierop2010-03-081-1/+1
| | | (bzr r9167)
* 1) Fix moving by an integer multiple of the grid spacing (<alt>-dragging in ↵Diederik van Lierop2010-02-251-1/+1
| | | | | | | | | | the selector tool) 2) Allow constrained translation for 1) (with <ctrl>) 3) Fix snapping to the grid when pasting 4) Show snap indicators for all of the above 5) Implement snap delay mechanism for 1) and 2) (bzr r9113)
* Finally introducing the pre-snap indicatorDiederik van Lierop2010-01-301-0/+2
| | | (bzr r9034)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-23/+12
| | | | | specified explicitly) (bzr r9014)
* * Merge from trunkKrzysztof Kosi??ski2010-01-141-44/+37
|\ | | | | | | | | | | * Update to new snapping API * Modify the join action slightly (bzr r8846.2.11)
| * Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop2010-01-091-25/+18
| | | | | | | | | | for the devs) (bzr r8960)
| * Refactor snapping of gradient handles; now behaves like all other snapping, ↵Diederik van Lierop2010-01-011-2/+2
| | | | | | | | | | | | | | | | 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-26/+26
| | | | | | | | | | which reduces snap jitter) (bzr r8906)
* | * Implement node snapping.Krzysztof Kosi??ski2010-01-101-20/+37
|/ | | | | | | | | | | | | * Fix minor bug in linear grow. * Add --fixes. * Move some node selection-related functions to ControlPointSelection. Fixed bugs: - https://launchpad.net/bugs/170561 - https://launchpad.net/bugs/171893 - https://launchpad.net/bugs/182585 - https://launchpad.net/bugs/446773 (bzr r8846.2.9)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-1/+1
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-1/+1
| | | (bzr r8404)
* Snap guides to grids (fixes bug #170741)Diederik van Lierop2009-08-021-1/+9
| | | (bzr r8381)
* Snap guides to intersections of curves too (see bug #405419)Diederik van Lierop2009-07-291-1/+1
| | | (bzr r8361)
* Remove an unused parameter from the snapping APIDiederik van Lierop2009-06-201-3/+1
| | | (bzr r8119)
* Documenting of the snapping APIDiederik van Lierop2009-06-181-7/+16
| | | (bzr r8111)
* When dragging the origin of a guide along that guide, we should use ↵Diederik van Lierop2009-06-021-1/+3
| | | | | constrained snapping instead of free snapping. Also make sure that we snap to paths too, not just to guides (bzr r7973)
* Implement constrained snapping when dragging the position and size handles ↵Diederik van Lierop2009-03-151-0/+2
| | | | | 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-5/+0
| | | (bzr r7491)
* Snap guides to (intersections of) guides (closes bug #331143)Diederik van Lierop2009-02-251-2/+13
| | | (bzr r7370)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-26/+31
| | | | | displayed "B". (bzr r7335)
* After snapping, show a tooltip together with the snap indicatorDiederik van Lierop2009-02-151-0/+2
| | | (bzr r7296)
* - Snap to the midpoint of shapes and bboxesDiederik van Lierop2009-01-181-0/+1
| | | | | | | - 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)
* 1) snap midpoints of line segments (both as source and as target)Diederik van Lierop2008-12-141-26/+26
| | | | | 2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
* When snapping only the closest node, draw an indicator at that nodeDiederik van Lierop2008-11-261-11/+20
| | | (bzr r6903)
* Merge from fe-movedTed Gould2008-11-211-4/+4
| | | (bzr r6891)
* Merge from trunkTed Gould2008-10-311-0/+7
| | | (bzr r6887)
* From trunkTed Gould2008-10-271-53/+15
| | | (bzr r6885)
* If a snapper needs a reference to a SPNamedView or a SPDesktop, then get ↵Diederik van Lierop2008-09-071-0/+2
| | | | | that reference via the SnapManager (instead of storing references in the snapper and accessing them directly) (bzr r6773)
* Remove pointer to SPDesktop from ObjectSnapperDiederik van Lierop2008-09-071-0/+2
| | | (bzr r6772)
* Modify the parameters required for setting up the SnapManagerDiederik van Lierop2008-08-281-3/+4
| | | (bzr r6722)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-35/+35
| | | (bzr r6606)
* Snap to intersections of any kind of path (were we previously only could ↵Diederik van Lierop2008-08-081-3/+3
| | | | | snap to intersections of line-segments) (bzr r6597)
* 1) When pasting, use an offset that is a multiple of the grid pitch (got ↵Diederik van Lierop2008-08-061-0/+2
| | | | | | | lost during a previous round of refactoring) 2) Refactor some of the pasting code (bzr r6580)
* NR::Maybe => boost::optionalJohan B. C. Engelen2008-08-051-4/+4
| | | (bzr r6569)
* Fix a regression in the snapper, caused by me. Sorry!Diederik van Lierop2008-05-161-5/+5
| | | (bzr r5680)