summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* working on powerpencil in other threadJabier Arraiza2019-07-141-1/+3
|
* Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot2019-03-061-1/+1
| | | | This makes the code a lot less readable and greppable for no reason.
* modernize loopsMarc Jeanmougin2019-01-021-12/+11
|
* Clarify licensesMax Gaukler2018-11-081-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
* Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot2018-06-181-5/+5
| | | | | This reduces the boilerplate required to add a new element to a container.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-15/+15
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-1/+1
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-1/+1
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-5/+11
| | | | A lot of header clean-up.
* Misc. typosluz.paz2018-01-081-1/+1
| | | Found via `codespell`
* Merged trunkAdrian Boguszewski2016-08-031-6/+0
|\ | | | | (bzr r14954.1.29)
| * Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-6/+0
| | | | | | (bzr r15034)
| * Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+6
| | | | | | (bzr r15027)
| * Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-6/+0
| | | | | | (bzr r15025)
* | Added items as a range functionAdrian Boguszewski2016-07-031-2/+2
|\| | | | | (bzr r14954.1.13)
* | Moved next functions, added namespace, renamed range functionsAdrian Boguszewski2016-06-251-1/+1
|/ | | (bzr r14954.1.10)
* 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)