summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Replace NR_HUGE by Geom:infinity() in some snapping codeDiederik van Lierop2011-07-181-1/+1
| | | (bzr r10469)
* - rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen2011-07-171-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)
* Cleanup of oudated/redundant SP_ITEM() macro use.Jon A. Cruz2011-07-161-2/+8
| | | (bzr r10461)
* Implement decent snapping to text (baseline & anchor), and provide a toggle ↵Diederik van Lierop2011-06-301-99/+131
| | | | | button for this (as requested in LP bug #727281 ) (bzr r10392)
* - Add a third group of snap sources/targets, called ¨others¨ (before we ↵Diederik van Lierop2011-06-261-19/+18
| | | | | | | | 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)
* Removed outdated/unsafe SP_DOCUMENT_DEFS macro and reduced usage of ↵Jon A. Cruz2011-06-041-0/+1
| | | | | SP_ROOT() gtk type function/macro. (bzr r10254)
* Fix a snap bug in which the snapped to the help path instead of the real pathDiederik van Lierop2011-02-041-2/+7
| | | (bzr r10032)
* update to latest 2geom !Johan B. C. Engelen2011-02-021-3/+3
| | | (bzr r10025)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-21/+23
|\ | | | | (bzr r9945.1.1)
| * another c++ification for sp-object.h/cpp and still in progress...Abhishek Sharma Public2010-07-031-1/+1
| | | | | | (bzr r9546.1.4)
| * C++fied SPDocument addedAbhishek Sharma Public2010-07-011-3/+3
| | | | | | (bzr r9546.1.2)
| * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-11/+10
| | | | | | | | | | sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
* | - Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop2010-10-291-11/+12
| | | | | | | | | | | | | | mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)