summaryrefslogtreecommitdiffstats
path: root/src/snapper.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
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-nullptr pass.Emmanuel Gil Peyrot1-1/+1
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-2/+3
A lot of header clean-up.
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-1/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+1
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-1/+0
(bzr r15025)
2011-10-03Another minor pass of Doxygen cleanup.Jon A. Cruz1-5/+5
(bzr r10659)
2010-01-09Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop1-3/+3
for the devs) (bzr r8960)
2009-04-25Optionaly snap to invisible grid lines too (when zoomed out). See the grids ↵Diederik van Lierop1-1/+7
tab in the document properties dialog. This closes bug #172115 (bzr r7773)
2009-03-14Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop1-1/+0
(bzr r7491)
2009-02-04Warning cleanup.Jon A. Cruz1-1/+1
(bzr r7227)
2009-01-31Store the snapper tolerances in the snap-preferences instead of in each ↵Diederik van Lierop1-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)
2008-12-141) snap midpoints of line segments (both as source and as target)Diederik van Lierop1-2/+2
2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
2008-11-23Don't use SP_ACTIVE_DESKTOPDiederik van Lierop1-1/+3
(bzr r6896)
2008-11-231) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop1-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)
2008-10-27From trunkTed Gould1-30/+4
(bzr r6885)
2008-09-07If a snapper needs a reference to a SPNamedView or a SPDesktop, then get ↵Diederik van Lierop1-4/+3
that reference via the SnapManager (instead of storing references in the snapper and accessing them directly) (bzr r6773)
2008-08-11Move all of the snapper code to 2geomDiederik van Lierop1-3/+3
(bzr r6606)
2008-04-30- Major refactoring of snapping related code...Diederik van Lierop1-109/+0
- Enabling snap indicator for all remaining tools (bzr r5556)
2008-04-11Refactor snapping mechanisms: in seltrans.cpp, a GSList was converted to a ↵Diederik van Lierop1-5/+7
std::list in four different places. Now this is handled in only one place (bzr r5407)
2008-03-25Major overhaul of the selector tool's internals to improve handling of ↵Diederik van Lierop1-5/+3
transformations, origins and snapping, for both visual and geometric bounding boxes (see for example bug #174046 in Launchpad) (bzr r5189)
2008-03-08Node tool: snap to paths and their nodes, incl. to the path currently being ↵Diederik van Lierop1-9/+11
edited (bzr r4989)
2008-01-08Fix LP #181020: When snapping a guide, now only the part of the guide near ↵Diederik van Lierop1-0/+1
the pointer is considered (bzr r4435)
2008-01-031) fix snapping while scalingDiederik van Lierop1-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)
2007-12-221) solve bug #177995Diederik van Lierop1-2/+1
2) don't look for nearby intersections when doing a constrained snap (bzr r4275)
2007-12-12Toggle snapping for each grid individuallyDiederik van Lierop1-4/+4
(bzr r4219)
2007-11-03Oops, don't use tabs! (replace tabs by 4 spaces)Diederik van Lierop1-12/+12
(bzr r4020)
2007-11-03Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop1-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)
2007-09-05Improving the performance of the object snapperDiederik van Lierop1-4/+12
(bzr r3689)
2007-08-28Implement snapping of guides while dragging them, and snap TO item centers ↵Diederik van Lierop1-0/+1
(we only had snapping FROM item centers so far) (bzr r3603)
2007-07-281) Changes to snapping preferences dialogDiederik van Lierop1-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)
2007-04-17Improve snapper performance (mainly in by editting WillSnapSomething())Diederik van Lierop1-10/+1
(bzr r2917)
2007-04-12Always snap both bboxes and nodes. Remove all 'snap bbox/nodes' options from ↵Diederik van Lierop1-1/+1
document properties (bzr r2868)
2007-03-26interpret snapping distance in screen pixels independent of zoombulia byak1-2/+4
(bzr r2762)
2006-05-09Re-enable link between grid visibility and grid snap.Carl Hetherington1-4/+13
(bzr r795)
2006-05-05Various snapping cleanups and bug fixes.Carl Hetherington1-2/+2
(bzr r734)
2006-02-15bulk trailing spaces removal. consistency through MD5 of binaryRalf Stephan1-1/+1
(bzr r149)