summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-01-02modernize loopsMarc Jeanmougin1-7/+7
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-3/+3
This reduces the boilerplate required to add a new element to a container.
2018-06-18Run clang-tidy’s modernize-use-bool-literals pass.Emmanuel Gil Peyrot1-2/+2
This makes it clearer whether an integer or a boolean has to be passed in this specific call.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-23/+23
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-13/+18
A lot of header clean-up.
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-07-14Renamed children list in SPObjectAdrian Boguszewski1-1/+1
(bzr r14954.1.21)
2016-07-13Second part of new SPObject children listAdrian Boguszewski1-4/+4
(bzr r14954.1.19)
2016-02-22static code analysisKris De Gussem1-1/+0
(bzr r14665)
2015-11-13static code analysisKris De Gussem1-1/+1
(bzr r14463)
2015-10-14Fix snapping while rotating a selectionDiederik van Lierop1-37/+6
Fixed bugs: - https://launchpad.net/bugs/1479167 (bzr r14411)
2015-05-22Update to 2Geom revision 2396Krzysztof Kosi??ski1-1/+5
(bzr r14059.2.16)
2015-04-272Geom sync - initial commitKrzysztof Kosi??ski1-3/+3
(bzr r14059.2.1)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-2/+2
(bzr r13922.1.10)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-2/+2
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-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)
2014-11-10Removed SP_USE/SP_IS_USE Gtk-ish macros and cleaned affected files.Jon A. Cruz1-19/+25
(bzr r13700)
2014-10-12object-snapper.cpp : make the logic easier to read (use else-clause as ↵Johan B. C. Engelen1-4/+1
default initialization value) (bzr r13601)
2014-09-09Fix bug #1357411Liam P. White1-1/+1
Fixed bugs: - https://launchpad.net/bugs/1357411 (bzr r13550)
2014-07-30Limit the number of paths to be used as snap targets, to keep Inkscape ↵Diederik van Lierop1-0/+4
responsive in very complex drawings Fixed bugs: - https://launchpad.net/bugs/1348959 (bzr r13483)
2014-03-24fix potential use of nullptr (item) (note that SPGroup inherits from SPItem)Johan B. C. Engelen1-27/+27
(bzr r13196)
2013-10-09Documentation/Translation. Fix for Bug #1236382 (Typos in comments and ↵Nicolas Dufour1-1/+1
message, localization context needed) by Yuri Chornoivan. Fixed bugs: - https://launchpad.net/bugs/1236382 (bzr r12673)
2013-09-24Refactored SPUse.Markus Engel1-6/+6
(bzr r11608.1.128)
2013-08-27Added viewBox implement document unit support.Matthew Petroff1-3/+3
(bzr r12475.1.2)
2013-08-03reduce scope of variablesJohan B. C. Engelen1-2/+1
(bzr r12463)
2012-05-04Adding checks to prevent null pointer dereferencesKris De Gussem1-2/+2
(bzr r11325)
2012-02-25(cppcheck and janitorial tasks:) C-style casting to C++-style castingKris De Gussem1-1/+1
(bzr r11011)
2012-02-15cppcheckKris De Gussem1-17/+17
(bzr r10987)
2012-02-141) Add checkboxes for perpendicular and tangential snapping to the document ↵Diederik van Lierop1-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)
2012-01-17turn SPPath into a class, and add some methods...Johan B. C. Engelen1-1/+1
(bzr r10897)
2012-01-14Enable tangential and perpendicular snapping to paths (in the node-tool, ↵Diederik van Lierop1-29/+78
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-4/+4
(bzr r10780)
2011-10-27Fixing more broken and split doc comments.Jon A. Cruz1-20/+2
(bzr r10697)
2011-10-15Use desktop coordinates for finding snap candidates (regression introduced ↵Diederik van Lierop1-3/+3
in rev. #10675) Fixed bugs: - https://launchpad.net/bugs/874213 (bzr r10677)
2011-10-12Object snapper: only use the visual bounding box when absolutely needed; ↵Diederik van Lierop1-3/+9
otherwise default to geometric bounding box (bzr r10675)
2011-10-081) make snapping to clip/mask paths optional (see document properties dialog ↵Diederik van Lierop1-5/+23
-> 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-1/+1
(bzr r10659)
2011-09-17Make "snap page border" toggle independent of "snap paths" toggleDiederik van Lierop1-1/+1
Fixed bugs: - https://launchpad.net/bugs/850982 (bzr r10635)
2011-09-02Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop1-16/+16
"IntermSnapResults" (bzr r10612)
2011-08-28Fix bug related to snapping to path intersectionsDiederik van Lierop1-5/+5
(bzr r10587)
2011-08-27Allow snapping to path intersections without snapping to the paths themselvesDiederik van Lierop1-6/+9
(bzr r10585)
2011-08-27Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski1-11/+9
using them more obvious. Fix filter region computation. (bzr r10582.1.1)
2011-08-25Fix "snap guides" toggleDiederik van Lierop1-14/+8
Fixed bugs: - https://launchpad.net/bugs/814457 (bzr r10582)
2011-08-231) Use the "snap guides" button both for guides being snap sources, as well ↵Diederik van Lierop1-38/+0
as for guides being snap targets 2) Remove some redundant guide-snapping code from the object snapper, (bzr r10576)
2011-08-22Refactoring of the snapping preferences; mainly about storing all toggles in ↵Diederik van Lierop1-137/+94
a single array, instead of each having its own member variable (bzr r10569)
2011-07-18Replace NR_HUGE by Geom:infinity() in some snapping codeDiederik van Lierop1-1/+1
(bzr r10469)
2011-07-17- rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen1-3/+3
item-to-desktop, not item-to-document. This should make it easier to spot bugs. - tag some instances where the document-to-desktop transform has been hardcoded (bzr r10466)