summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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)
| * 1) Snap to transformation center even if it's outside of the bounding box of ↵Diederik van Lierop2010-07-251-1/+4
| | | | | | | | | | | | | | 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-0/+3
| | | | | | | | | | center at the snapped position (bzr r9641)
| * - Remove some old code which snapped the rotation center to the bbox, and ↵Diederik van Lierop2010-07-201-3/+2
| | | | | | | | | | | | | | 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)
| * - do not use shift to disable snapping while holding shift to rotate a guideDiederik van Lierop2010-07-181-2/+1
| | | | | | | | | | | | - snap guides to paths too - always show the same snap indicator (bzr r9625)
| * Simplify code related to snapping while rotatingDiederik van Lierop2010-07-171-9/+5
| | | | | | (bzr r9619)
| * - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-34/+85
| | | | | | | | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
* | Wholesale cruft removal part 4; fix crash when rendering guidesKrzysztof Kosi??ski2010-08-051-15/+15
|/ | | (bzr r9508.1.48)
* Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop2010-05-081-6/+3
| | | (bzr r9402)
* Fix bbox snapping as reported in LP bug #562205Diederik van Lierop2010-04-181-2/+15
| | | | | | Fixed bugs: - https://launchpad.net/bugs/562205 (bzr r9351)
* New node tool: implement handle snappingKrzysztof Kosi??ski2010-03-141-14/+7
| | | | | | Fixed bugs: - https://launchpad.net/bugs/538487 (bzr r9192)
* Don't snap to points which are off-screenDiederik van Lierop2010-03-081-8/+12
| | | (bzr r9167)
* 1) Fix moving by an integer multiple of the grid spacing (<alt>-dragging in ↵Diederik van Lierop2010-02-251-5/+13
| | | | | | | | | | 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)
* 1) Making snapping behaviour for paraxial lines (in the pen tool) similar to ↵Diederik van Lierop2010-02-221-3/+18
| | | | | | | | other tools 2) Always apply the constraint when asking for a constrained snap 3) Show snap indicator when applying a constraint (bzr r9105)
* Make sure that guides always snap correctly when dropping them, and improve ↵Diederik van Lierop2010-02-211-1/+1
| | | | | perseverance of snap-indicator (bzr r9103)
* Fix compilation error introduced by my previous commitDiederik van Lierop2010-02-121-1/+1
| | | (bzr r9083)
* Constrained snapping: always enforce constraint, even when we didn't snapDiederik van Lierop2010-02-121-3/+5
| | | (bzr r9082)
* Finally introducing the pre-snap indicatorDiederik van Lierop2010-01-301-0/+16
| | | (bzr r9034)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-54/+40
| | | | | specified explicitly) (bzr r9014)