summaryrefslogtreecommitdiffstats
path: root/src/snapped-line.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-01-02modernize loopsMarc Jeanmougin1-3/+3
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-10-01Remove #include "config.h" wherever possibleEduard Braun1-1/+1
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot1-4/+2
This replaces empty constructors and destructors with the default keyword.
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-2/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+2
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-2/+1
(bzr r15025)
2012-03-07cppcheckKris De Gussem1-2/+2
(bzr r11052)
2011-10-18cppcheckKris De Gussem1-10/+10
(bzr r10681)
2011-10-03Another minor pass of Doxygen cleanup.Jon A. Cruz1-1/+1
(bzr r10659)
2010-10-29- Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop1-2/+2
mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
2010-08-05Wholesale cruft removal part 4; fix crash when rendering guidesKrzysztof Kosi??ski1-8/+8
(bzr r9508.1.48)
2010-05-08Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop1-4/+4
(bzr r9402)
2009-12-24refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop1-33/+37
which reduces snap jitter) (bzr r8906)
2009-04-12Use the line intersection routines in 2geom/line.h instead of the deprecated ↵Diederik van Lierop1-25/+38
ones in 2geom/geom.h. (I know we're in a refactoring freeze, but this one I was already working on before this freeze was announced and it's quite safe IMHO. It's only a small change in 2geom's API and can hardly do any real harm. I will not refactor anything else until after the v0.47 release, promised!) (bzr r7688)
2009-03-14Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop1-1/+0
(bzr r7491)
2009-02-20The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop1-7/+15
displayed "B". (bzr r7335)
2008-12-10- Fix bug #304405 (snapping to an intersection of lines at infinity is wrong)Diederik van Lierop1-158/+153
- Replace tabs by spaces (bzr r6985)
2008-11-231) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop1-22/+22
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-09-21- refactor snapping code, removing code duplicationDiederik van Lierop1-4/+4
- fix snapping to page corners (bzr r6863)
2008-08-11Move all of the snapper code to 2geomDiederik van Lierop1-10/+10
(bzr r6606)
2008-08-012geomify a lot of NR::Points to Geom::PointJohan B. C. Engelen1-4/+4
(bzr r6513)
2008-05-04Next steps in implementing the snapping indicatorDiederik van Lierop1-11/+13
(bzr r5600)
2008-01-031) fix snapping while scalingDiederik van Lierop1-30/+69
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-11-181) Improving snapping logic 2) When skewing, don't snap to selection itselfDiederik van Lierop1-8/+37
(bzr r4111)
2007-11-14Snap to intersections of line segmentsDiederik van Lierop1-13/+50
(bzr r4082)
2007-11-09Remove geom.cpp and geom.h. Now use 2geom/geom.cpp and 2geom.h.Johan B. C. Engelen1-7/+8
Add conversion functions between Geom::Point and NR::Point (bzr r4050)
2007-11-09Renaming classes: SnappedLine -> SnappedLineSegment, and SnappedInfiniteLine ↵Diederik van Lierop1-28/+21
-> SnappedLine (bzr r4048)
2007-11-03fix compilation. added #include "libnr/nr-values.h" to snapped-line.cppJohan B. C. Engelen1-0/+1
(bzr r4017)
2007-11-03Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop1-0/+180
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)