summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cppification: GSList replaced by vectors (mostly related to guides and grids)Marc Jeanmougin2015-12-051-5/+4
| | | (bzr r14504.1.1)
* static code analysisKris De Gussem2015-10-291-1/+1
| | | (bzr r14436)
* Refactoring of the code that handles transformations and snapping in the ↵Diederik van Lierop2015-09-131-428/+58
| | | | | selector tool and the node tool. Splitting large chunks of code into some small classes, and eliminating some wrapper methods which were all just too similar (bzr r14363)
* Snapping in node tool now also works when:Diederik van Lierop2015-05-301-5/+31
| | | | | | | | | - when double clicking to insert a node on a path - when dragging a part of the path to deform it Fixed bugs: - https://launchpad.net/bugs/1448859 (bzr r14189)
* mergeMarc Jeanmougin2015-04-261-1/+1
|\ | | | | (bzr r13922.1.12)
| * Collect util/ into a static libraryLiam P. White2015-02-251-1/+1
| | | | | | (bzr r13948)
* | corrected the casts (hopefully)Marc Jeanmougin2015-02-271-1/+1
| | | | | | (bzr r13922.1.10)
* | Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-3/+3
| | | | | | (bzr r13922.1.5)
* | At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-7/+7
|/ | | | | | | | change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
* Refactor SPGuide to use more C++Liam P. White2014-10-041-1/+1
| | | (bzr r13341.1.241)
* Update to experimental r13531Liam P. White2014-08-311-49/+36
|\ | | | | (bzr r13090.1.106)
| * Fix some issues with constrained snappingDiederik van Lierop2014-08-171-49/+36
| | | | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/681286 - https://launchpad.net/bugs/1265026 (bzr r13527)
* | Update to experimental r13404Liam P. White2014-06-191-5/+5
|\| | | | | (bzr r13090.1.84)
| * Fix snapping issue in selector toolDiederik van Lierop2014-05-121-5/+5
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1255764 (bzr r13361)
* | Properly allow effect stacking with knotholders (and add extra LPE ↵Liam P. White2014-04-061-1/+1
|/ | | | | functionality) (bzr r13090.1.48)
* Moved and renamed some tool-related files.Markus Engel2013-11-091-1/+1
| | | (bzr r12785)
* 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)