summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* modernize loopsMarc Jeanmougin2019-01-021-7/+7
|
* 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-3/+3
| | | | | This reduces the boilerplate required to add a new element to a container.
* Run clang-tidy’s modernize-use-bool-literals pass.Emmanuel Gil Peyrot2018-06-181-2/+2
| | | | | This makes it clearer whether an integer or a boolean has to be passed in this specific call.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-23/+23
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-13/+18
| | | | A lot of header clean-up.
* 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)
* | Renamed children list in SPObjectAdrian Boguszewski2016-07-141-1/+1
| | | | | | (bzr r14954.1.21)
* | Second part of new SPObject children listAdrian Boguszewski2016-07-131-4/+4
|/ | | (bzr r14954.1.19)
* static code analysisKris De Gussem2016-02-221-1/+0
| | | (bzr r14665)
* static code analysisKris De Gussem2015-11-131-1/+1
| | | (bzr r14463)
* Fix snapping while rotating a selectionDiederik van Lierop2015-10-141-37/+6
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1479167 (bzr r14411)
* Update to 2Geom revision 2396Krzysztof Kosi??ski2015-05-221-1/+5
| | | (bzr r14059.2.16)
* Merge from trunkKrzysztof Kosi??ski2015-05-081-2/+3
|\ | | | | (bzr r14059.2.11)
| * corrected the casts (hopefully)Marc Jeanmougin2015-02-271-2/+2
| | | | | | (bzr r13922.1.10)
| * Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-2/+2
| | | | | | (bzr r13922.1.5)
| * At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-2/+3
| | | | | | | | | | | | | | | | 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)
* | 2Geom sync - initial commitKrzysztof Kosi??ski2015-04-271-3/+3
|/ | | (bzr r14059.2.1)
* Removed SP_USE/SP_IS_USE Gtk-ish macros and cleaned affected files.Jon A. Cruz2014-11-101-19/+25
| | | (bzr r13700)
* object-snapper.cpp : make the logic easier to read (use else-clause as ↵Johan B. C. Engelen2014-10-121-4/+1
| | | | | default initialization value) (bzr r13601)
* Fix bug #1357411Liam P. White2014-09-091-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1357411 (bzr r13550)
* Limit the number of paths to be used as snap targets, to keep Inkscape ↵Diederik van Lierop2014-07-301-0/+4
| | | | | | | | responsive in very complex drawings Fixed bugs: - https://launchpad.net/bugs/1348959 (bzr r13483)
* fix potential use of nullptr (item) (note that SPGroup inherits from SPItem)Johan B. C. Engelen2014-03-241-27/+27
| | | (bzr r13196)
* Documentation/Translation. Fix for Bug #1236382 (Typos in comments and ↵Nicolas Dufour2013-10-091-1/+1
| | | | | | | | message, localization context needed) by Yuri Chornoivan. Fixed bugs: - https://launchpad.net/bugs/1236382 (bzr r12673)
* Refactored SPUse.Markus Engel2013-09-241-6/+6
| | | (bzr r11608.1.128)
* reduce scope of variablesJohan B. C. Engelen2013-08-031-2/+1
| | | (bzr r12463)
* Adding checks to prevent null pointer dereferencesKris De Gussem2012-05-041-2/+2
| | | (bzr r11325)
* (cppcheck and janitorial tasks:) C-style casting to C++-style castingKris De Gussem2012-02-251-1/+1
| | | (bzr r11011)
* cppcheckKris De Gussem2012-02-151-17/+17
| | | (bzr r10987)
* 1) Add checkboxes for perpendicular and tangential snapping to the document ↵Diederik van Lierop2012-02-141-3/+10
| | | | | | | 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)
* turn SPPath into a class, and add some methods...Johan B. C. Engelen2012-01-171-1/+1
| | | (bzr r10897)
* Enable tangential and perpendicular snapping to paths (in the node-tool, ↵Diederik van Lierop2012-01-141-29/+78
| | | | | 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-4/+4
| | | (bzr r10780)
* Fixing more broken and split doc comments.Jon A. Cruz2011-10-271-20/+2
| | | (bzr r10697)
* Use desktop coordinates for finding snap candidates (regression introduced ↵Diederik van Lierop2011-10-151-3/+3
| | | | | | | | in rev. #10675) Fixed bugs: - https://launchpad.net/bugs/874213 (bzr r10677)
* Object snapper: only use the visual bounding box when absolutely needed; ↵Diederik van Lierop2011-10-121-3/+9
| | | | | otherwise default to geometric bounding box (bzr r10675)
* 1) make snapping to clip/mask paths optional (see document properties dialog ↵Diederik van Lierop2011-10-081-5/+23
| | | | | | | | -> 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-1/+1
| | | (bzr r10659)
* Make "snap page border" toggle independent of "snap paths" toggleDiederik van Lierop2011-09-171-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/850982 (bzr r10635)
* Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop2011-09-021-16/+16
| | | | | "IntermSnapResults" (bzr r10612)
* Completely remove libnrKrzysztof Kosi??ski2011-08-281-11/+9
|\ | | | | (bzr r10589)
| * Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski2011-08-271-11/+9
| | | | | | | | | | using them more obvious. Fix filter region computation. (bzr r10582.1.1)
* | Fix bug related to snapping to path intersectionsDiederik van Lierop2011-08-281-5/+5
| | | | | | (bzr r10587)
* | Allow snapping to path intersections without snapping to the paths themselvesDiederik van Lierop2011-08-271-6/+9
|/ | | (bzr r10585)
* Fix "snap guides" toggleDiederik van Lierop2011-08-251-14/+8
| | | | | | 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-38/+0
| | | | | | | as for guides being snap targets 2) Remove some redundant guide-snapping code from the object snapper, (bzr r10576)
* Refactoring of the snapping preferences; mainly about storing all toggles in ↵Diederik van Lierop2011-08-221-137/+94
| | | | | a single array, instead of each having its own member variable (bzr r10569)