summaryrefslogtreecommitdiffstats
path: root/src/snapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-nullptr pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | | 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-2/+3
| | | | A lot of header clean-up.
* Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-1/+0
| | | (bzr r15034)
* Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+1
| | | (bzr r15027)
* Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-1/+0
| | | (bzr r15025)
* Another minor pass of Doxygen cleanup.Jon A. Cruz2011-10-031-5/+5
| | | (bzr r10659)
* Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop2010-01-091-3/+3
| | | | | for the devs) (bzr r8960)
* Optionaly snap to invisible grid lines too (when zoomed out). See the grids ↵Diederik van Lierop2009-04-251-1/+7
| | | | | tab in the document properties dialog. This closes bug #172115 (bzr r7773)
* Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop2009-03-141-1/+0
| | | (bzr r7491)
* Warning cleanup.Jon A. Cruz2009-02-041-1/+1
| | | (bzr r7227)
* Store the snapper tolerances in the snap-preferences instead of in each ↵Diederik van Lierop2009-01-311-26/+1
| | | | | snapper individualy. This way we don't have to update all snappers when the namedview has been updated (and we can get rid of the _update_snap_distances() call) (bzr r7208)
* 1) snap midpoints of line segments (both as source and as target)Diederik van Lierop2008-12-141-2/+2
| | | | | 2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
* Don't use SP_ACTIVE_DESKTOPDiederik van Lierop2008-11-231-1/+3
| | | (bzr r6896)
* 1) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop2008-11-231-2/+2
| | | | | | | | finding the best snap 2) Use this distance also when snapping nodes in the path editor 3) Add a slider in the preferences dialog to control the weighing of this distance (bzr r6895)
* From trunkTed Gould2008-10-271-30/+4
| | | (bzr r6885)
* If a snapper needs a reference to a SPNamedView or a SPDesktop, then get ↵Diederik van Lierop2008-09-071-4/+3
| | | | | that reference via the SnapManager (instead of storing references in the snapper and accessing them directly) (bzr r6773)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-3/+3
| | | (bzr r6606)
* - Major refactoring of snapping related code...Diederik van Lierop2008-04-301-109/+0
| | | | | - Enabling snap indicator for all remaining tools (bzr r5556)
* Refactor snapping mechanisms: in seltrans.cpp, a GSList was converted to a ↵Diederik van Lierop2008-04-111-5/+7
| | | | | std::list in four different places. Now this is handled in only one place (bzr r5407)
* Major overhaul of the selector tool's internals to improve handling of ↵Diederik van Lierop2008-03-251-5/+3
| | | | | transformations, origins and snapping, for both visual and geometric bounding boxes (see for example bug #174046 in Launchpad) (bzr r5189)
* Node tool: snap to paths and their nodes, incl. to the path currently being ↵Diederik van Lierop2008-03-081-9/+11
| | | | | edited (bzr r4989)
* Fix LP #181020: When snapping a guide, now only the part of the guide near ↵Diederik van Lierop2008-01-081-0/+1
| | | | | the pointer is considered (bzr r4435)
* 1) fix snapping while scalingDiederik van Lierop2008-01-031-9/+14
| | | | | | | 2) fix constrained snapping 3) improve snapping logic (again), or more specifically: better obey "always snap" 4) refactoring to reduce risk of bugs: renaming variables and methods for better readability, adding class members instead of using std::pairs, etc. (bzr r4379)
* 1) solve bug #177995Diederik van Lierop2007-12-221-2/+1
| | | | | 2) don't look for nearby intersections when doing a constrained snap (bzr r4275)
* Toggle snapping for each grid individuallyDiederik van Lierop2007-12-121-4/+4
| | | (bzr r4219)
* Oops, don't use tabs! (replace tabs by 4 spaces)Diederik van Lierop2007-11-031-12/+12
| | | (bzr r4020)
* Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop2007-11-031-10/+18
| | | | | guidelines, and of objects with other objects. The snappers used to return only SnappedPoints, but now also SnappedLines and SnappedInfiniteLines can be returned. SnappedPaths will be implemented later. (bzr r4016)
* Improving the performance of the object snapperDiederik van Lierop2007-09-051-4/+12
| | | (bzr r3689)
* Implement snapping of guides while dragging them, and snap TO item centers ↵Diederik van Lierop2007-08-281-0/+1
| | | | | (we only had snapping FROM item centers so far) (bzr r3603)
* 1) Changes to snapping preferences dialogDiederik van Lierop2007-07-281-16/+16
| | | | | | 2) Strict snapping implemented, i.e. bbox only to bbox and nodes only to paths/nodes 3) Renaming of some constants to improve readability (bzr r3331)
* Improve snapper performance (mainly in by editting WillSnapSomething())Diederik van Lierop2007-04-171-10/+1
| | | (bzr r2917)
* Always snap both bboxes and nodes. Remove all 'snap bbox/nodes' options from ↵Diederik van Lierop2007-04-121-1/+1
| | | | | document properties (bzr r2868)
* interpret snapping distance in screen pixels independent of zoombulia byak2007-03-261-2/+4
| | | (bzr r2762)
* Re-enable link between grid visibility and grid snap.Carl Hetherington2006-05-091-4/+13
| | | (bzr r795)
* Various snapping cleanups and bug fixes.Carl Hetherington2006-05-051-2/+2
| | | (bzr r734)
* bulk trailing spaces removal. consistency through MD5 of binaryRalf Stephan2006-02-151-1/+1
| | | (bzr r149)
* moving trunk for module inkscapeMenTaLguY2006-01-161-0/+180
(bzr r1)