summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-14working on powerpencil in other threadJabier Arraiza1-1/+3
2019-03-06Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot1-1/+1
This makes the code a lot less readable and greppable for no reason.
2019-01-02modernize loopsMarc Jeanmougin1-12/+11
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-06-18Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot1-5/+5
This reduces the boilerplate required to add a new element to a container.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-15/+15
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-1/+1
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-1/+1
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-5/+11
A lot of header clean-up.
2018-01-08Misc. typosluz.paz1-1/+1
Found via `codespell`
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-6/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+6
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-6/+0
(bzr r15025)
2016-06-25Moved next functions, added namespace, renamed range functionsAdrian Boguszewski1-1/+1
(bzr r14954.1.10)
2015-12-05cppification: GSList replaced by vectors (mostly related to guides and grids)Marc Jeanmougin1-5/+4
(bzr r14504.1.1)
2015-10-29static code analysisKris De Gussem1-1/+1
(bzr r14436)
2015-09-13Refactoring of the code that handles transformations and snapping in the ↵Diederik van Lierop1-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)
2015-05-30Snapping in node tool now also works when:Diederik van Lierop1-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)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-1/+1
(bzr r13922.1.10)
2015-02-25Collect util/ into a static libraryLiam P. White1-1/+1
(bzr r13948)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-3/+3
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-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)
2014-10-04Refactor SPGuide to use more C++Liam P. White1-1/+1
(bzr r13341.1.241)
2014-09-27Update to experimental r13565Liam P. White1-1/+1
(bzr r13341.5.16)
2014-08-17Fix some issues with constrained snappingDiederik van Lierop1-49/+36
Fixed bugs: - https://launchpad.net/bugs/681286 - https://launchpad.net/bugs/1265026 (bzr r13527)
2014-05-12Fix snapping issue in selector toolDiederik van Lierop1-5/+5
Fixed bugs: - https://launchpad.net/bugs/1255764 (bzr r13361)
2014-04-06Properly allow effect stacking with knotholders (and add extra LPE ↵Liam P. White1-1/+1
functionality) (bzr r13090.1.48)
2013-11-09Moved and renamed some tool-related files.Markus Engel1-1/+1
(bzr r12785)
2013-03-19Fixing regressionjtx1-1/+0
(bzr r11950.1.61)
2013-03-17Working with widjetsJabier Arraiza Cenoz1-0/+1
(bzr r11950.1.56)
2013-03-16cppcheckKris De Gussem1-1/+0
(bzr r12217)
2012-12-08Selector tool: improve responsiveness for snapping a path's internal ↵Diederik van Lierop1-2/+7
intersections (was unbearable already for paths having 20+ segments) (bzr r11937)
2012-06-12cppcheckKris De Gussem1-0/+1
(bzr r11492)
2012-02-15cppcheckKris De Gussem1-16/+16
(bzr r10987)
2012-02-141) Add checkboxes for perpendicular and tangential snapping to the document ↵Diederik van Lierop1-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)
2012-02-12Cleaning up a few headersAlex Valavanis1-0/+2
(bzr r10961)
2012-01-14Enable tangential and perpendicular snapping to paths (in the node-tool, ↵Diederik van Lierop1-9/+8
pen-tool, pencil-tool, and for guide manipulation; cannot be toggled yet, will always be active when snapping to paths) (bzr r10886)
2011-12-18Refactor snap-preferences a bit moreDiederik van Lierop1-1/+1
(bzr r10780)
2011-11-041) Cycle to the next-closest-snap-source when pressing tab, if the ↵Diederik van Lierop1-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)
2011-10-27Fixing more broken and split doc comments.Jon A. Cruz1-311/+1
(bzr r10697)
2011-10-081) make snapping to clip/mask paths optional (see document properties dialog ↵Diederik van Lierop1-0/+24
-> snap tab) 2) for debugging purposes: code added for showing all snap candidates 3) groundwork for tangential/perpendicular snapping (bzr r10672)
2011-10-03Another minor pass of Doxygen cleanup.Jon A. Cruz1-144/+120
(bzr r10659)
2011-10-02Warning cleanup.Jon A. Cruz1-1/+1
(bzr r10655)
2011-09-18Snap to guide-path intersections, and don't snap to paths when only path ↵Diederik van Lierop1-10/+22
intersections are asked for Fixed bugs: - https://launchpad.net/bugs/847457 - https://launchpad.net/bugs/850982 (bzr r10639)
2011-09-17Make "snap page border" toggle independent of "snap paths" toggleDiederik van Lierop1-5/+3
Fixed bugs: - https://launchpad.net/bugs/850982 (bzr r10635)
2011-09-16Node tool, transforming a set of nodes: Fix crashes, and finish ↵Diederik van Lierop1-0/+1
implementation of snapping Fixed bugs: - https://launchpad.net/bugs/590261 (bzr r10633)
2011-09-02Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop1-32/+32
"IntermSnapResults" (bzr r10612)
2011-08-28Fix bug related to snapping to path intersectionsDiederik van Lierop1-1/+0
(bzr r10587)
2011-08-27Allow snapping to path intersections without snapping to the paths themselvesDiederik van Lierop1-6/+4
(bzr r10585)
2011-08-27Completely remove NRRect, NRRectL, in-svg-plane.hKrzysztof Kosi??ski1-2/+4
(bzr r10582.1.6)