summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cppcheckKris De Gussem2013-03-161-1/+0
| | | (bzr r12217)
* Selector tool: improve responsiveness for snapping a path's internal ↵Diederik van Lierop2012-12-081-2/+7
| | | | | intersections (was unbearable already for paths having 20+ segments) (bzr r11937)
* cppcheckKris De Gussem2012-06-121-0/+1
| | | (bzr r11492)
* cppcheckKris De Gussem2012-02-151-16/+16
| | | (bzr r10987)
* 1) Add checkboxes for perpendicular and tangential snapping to the document ↵Diederik van Lierop2012-02-141-11/+19
| | | | | | | 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)
* Cleaning up a few headersAlex Valavanis2012-02-121-0/+2
| | | (bzr r10961)
* Enable tangential and perpendicular snapping to paths (in the node-tool, ↵Diederik van Lierop2012-01-141-9/+8
| | | | | pen-tool, pencil-tool, and for guide manipulation; cannot be toggled yet, will always be active when snapping to paths) (bzr r10886)
* Refactor snap-preferences a bit moreDiederik van Lierop2011-12-181-1/+1
| | | (bzr r10780)
* 1) Cycle to the next-closest-snap-source when pressing tab, if the ↵Diederik van Lierop2011-11-041-38/+15
| | | | | | | 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-311/+1
| | | (bzr r10697)
* 1) make snapping to clip/mask paths optional (see document properties dialog ↵Diederik van Lierop2011-10-081-0/+24
| | | | | | | | -> snap tab) 2) for debugging purposes: code added for showing all snap candidates 3) groundwork for tangential/perpendicular snapping (bzr r10672)
* Another minor pass of Doxygen cleanup.Jon A. Cruz2011-10-031-144/+120
| | | (bzr r10659)
* Warning cleanup.Jon A. Cruz2011-10-021-1/+1
| | | (bzr r10655)
* Snap to guide-path intersections, and don't snap to paths when only path ↵Diederik van Lierop2011-09-181-10/+22
| | | | | | | | | intersections are asked for Fixed bugs: - https://launchpad.net/bugs/847457 - https://launchpad.net/bugs/850982 (bzr r10639)
* Make "snap page border" toggle independent of "snap paths" toggleDiederik van Lierop2011-09-171-5/+3
| | | | | | Fixed bugs: - https://launchpad.net/bugs/850982 (bzr r10635)
* Node tool, transforming a set of nodes: Fix crashes, and finish ↵Diederik van Lierop2011-09-161-0/+1
| | | | | | | | implementation of snapping Fixed bugs: - https://launchpad.net/bugs/590261 (bzr r10633)
* Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop2011-09-021-32/+32
| | | | | "IntermSnapResults" (bzr r10612)
* Completely remove libnrKrzysztof Kosi??ski2011-08-281-2/+4
|\ | | | | (bzr r10589)
| * Completely remove NRRect, NRRectL, in-svg-plane.hKrzysztof Kosi??ski2011-08-271-2/+4
| | | | | | (bzr r10582.1.6)
* | Fix bug related to snapping to path intersectionsDiederik van Lierop2011-08-281-1/+0
| | | | | | (bzr r10587)
* | Allow snapping to path intersections without snapping to the paths themselvesDiederik van Lierop2011-08-271-6/+4
|/ | | (bzr r10585)
* Fix "snap guides" toggleDiederik van Lierop2011-08-251-3/+4
| | | | | | Fixed bugs: - https://launchpad.net/bugs/814457 (bzr r10582)
* 1) Use the "snap guides" button both for guides being snap sources, as well ↵Diederik van Lierop2011-08-231-36/+6
| | | | | | | as for guides being snap targets 2) Remove some redundant guide-snapping code from the object snapper, (bzr r10576)
* Fix another snapping bug (could occur when scaling an object using the ↵Diederik van Lierop2011-08-221-1/+3
| | | | | selector tool) (bzr r10573)
* Fix snap bug #816044Diederik van Lierop2011-08-221-1/+8
| | | | | | Fixed bugs: - https://launchpad.net/bugs/816044 (bzr r10572)
* Refactoring of the snapping preferences; mainly about storing all toggles in ↵Diederik van Lierop2011-08-221-5/+5
| | | | | a single array, instead of each having its own member variable (bzr r10569)
* Replace NR_HUGE by Geom:infinity() in some snapping codeDiederik van Lierop2011-07-181-16/+16
| | | (bzr r10469)
* Fix scaling error when snapping, caused by rev. #10326Diederik van Lierop2011-07-151-3/+5
| | | | | | Fixed bugs: - https://launchpad.net/bugs/808558 (bzr r10458)
* Merge from trunkKrzysztof Kosi??ski2011-07-061-2/+2
|\ | | | | (bzr r10347.1.5)
| * - Add a third group of snap sources/targets, called ¨others¨ (before we ↵Diederik van Lierop2011-06-261-2/+2
| | | | | | | | | | | | | | | | had only ¨bounding box¨ and nodes (see bug #788178) - Fix the display of the snap source - Fix snapping of guides to other guides & grids (bzr r10372)
* | Remove more of libnrKrzysztof Kosi??ski2011-06-231-1/+2
|/ | | (bzr r10347.1.2)
* Merge from trunkKrzysztof Kosi??ski2011-04-071-26/+68
|\ | | | | (bzr r9508.1.73)
| * Snap while rotating: fix removal of points too close to the rotation centerDiederik van Lierop2011-03-111-12/+12
| | | | | | (bzr r10093)
| * Snapping: improve calculation of metrics for scaling, modify some comments, ↵Diederik van Lierop2010-12-271-7/+10
| | | | | | | | | | and remove a line of obsolete debugging output (bzr r9986)
| * Node tool: snap while scaling a selection of nodes. Consider this as ↵Diederik van Lierop2010-12-271-8/+48
| | | | | | | | | | experimental; needs cleanup! (bzr r9985)
* | Merge from trunkKrzysztof Kosi??ski2010-11-251-138/+274
|\| | | | | (bzr r9508.1.70)
| * Shift should disable snapping when dragging the rotation center of an objectDiederik van Lierop2010-11-171-4/+9
| | | | | | (bzr r9903)
| * Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
| * Fix display of snap source indicator for constrained snapping in the ↵Diederik van Lierop2010-11-161-107/+125
| | | | | | | | | | selector tool (bzr r9898)
| * Leave constrained angular snapping to the snap manager, instead of handling ↵Diederik van Lierop2010-11-071-5/+51
| | | | | | | | | | it locally (bzr r9880)
| * - Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop2010-10-291-9/+59
| | | | | | | | | | | | | | mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
| * Fix paraxial pen tool: apply constraint even if we didn't snapDiederik van Lierop2010-10-241-4/+4
| | | | | | (bzr r9847)
| * 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)
| * 2nd attempt at fixing the crash introduced in rev. #9692. This should nail it!Diederik van Lierop2010-08-151-2/+2
| | | | | | (bzr r9714)
| * Fix a crash and add more safety checks to catch NULL pointersDiederik van Lierop2010-08-141-4/+22
| | | | | | (bzr r9713)
| * Fix a crash introduced by my previous commitDiederik van Lierop2010-08-111-1/+0
| | | | | | (bzr r9701)
| * Implement constrained snapping to nodesDiederik van Lierop2010-08-101-4/+4
| | | | | | (bzr r9696)
* | merge from trunkKrzysztof Kosi??ski2010-08-081-42/+165
|\| | | | | (bzr r9508.1.52)
| * Add a constrained snap method that takes multiple constraints. This reduces ↵Diederik van Lierop2010-08-071-0/+62
| | | | | | | | | | the code repetitiveness in the node tool (bzr r9692)
| * While rotating, don't try snapping points coincident with the rotation centerDiederik van Lierop2010-07-261-5/+15
| | | | | | (bzr r9652)