summaryrefslogtreecommitdiffstats
path: root/src/snapped-line.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* modernize loopsMarc Jeanmougin2019-01-021-3/+3
|
* 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
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-1/+1
|
* Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot2018-06-181-4/+2
| | | | | This replaces empty constructors and destructors with the default keyword.
* Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-2/+1
| | | (bzr r15034)
* Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+2
| | | (bzr r15027)
* Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-2/+1
| | | (bzr r15025)
* cppcheckKris De Gussem2012-03-071-2/+2
| | | (bzr r11052)
* cppcheckKris De Gussem2011-10-181-10/+10
| | | (bzr r10681)
* Another minor pass of Doxygen cleanup.Jon A. Cruz2011-10-031-1/+1
| | | (bzr r10659)
* Merge from trunkKrzysztof Kosi??ski2010-11-251-2/+2
|\ | | | | (bzr r9508.1.70)
| * - Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop2010-10-291-2/+2
| | | | | | | | | | | | | | mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
* | Wholesale cruft removal part 4; fix crash when rendering guidesKrzysztof Kosi??ski2010-08-051-8/+8
|/ | | (bzr r9508.1.48)
* Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop2010-05-081-4/+4
| | | (bzr r9402)
* refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop2009-12-241-33/+37
| | | | | which reduces snap jitter) (bzr r8906)
* Use the line intersection routines in 2geom/line.h instead of the deprecated ↵Diederik van Lierop2009-04-121-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)
* Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop2009-03-141-1/+0
| | | (bzr r7491)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-7/+15
| | | | | displayed "B". (bzr r7335)
* - Fix bug #304405 (snapping to an intersection of lines at infinity is wrong)Diederik van Lierop2008-12-101-158/+153
| | | | | - Replace tabs by spaces (bzr r6985)
* 1) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop2008-11-231-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)
* - refactor snapping code, removing code duplicationDiederik van Lierop2008-09-211-4/+4
| | | | | - fix snapping to page corners (bzr r6863)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-10/+10
| | | (bzr r6606)
* 2geomify a lot of NR::Points to Geom::PointJohan B. C. Engelen2008-08-011-4/+4
| | | (bzr r6513)
* Next steps in implementing the snapping indicatorDiederik van Lierop2008-05-041-11/+13
| | | (bzr r5600)
* 1) fix snapping while scalingDiederik van Lierop2008-01-031-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)
* 1) Improving snapping logic 2) When skewing, don't snap to selection itselfDiederik van Lierop2007-11-181-8/+37
| | | (bzr r4111)
* Snap to intersections of line segmentsDiederik van Lierop2007-11-141-13/+50
| | | (bzr r4082)
* Remove geom.cpp and geom.h. Now use 2geom/geom.cpp and 2geom.h.Johan B. C. Engelen2007-11-091-7/+8
| | | | | Add conversion functions between Geom::Point and NR::Point (bzr r4050)
* Renaming classes: SnappedLine -> SnappedLineSegment, and SnappedInfiniteLine ↵Diederik van Lierop2007-11-091-28/+21
| | | | | -> SnappedLine (bzr r4048)
* fix compilation. added #include "libnr/nr-values.h" to snapped-line.cppJohan B. C. Engelen2007-11-031-0/+1
| | | (bzr r4017)
* Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop2007-11-031-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)