summaryrefslogtreecommitdiffstats
path: root/src/snapped-point.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-pass-by-value pass.Emmanuel Gil Peyrot1-1/+3
This avoids having to pass variables by reference before copying them when calling a constructor.
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot1-2/+1
This replaces empty constructors and destructors with the default keyword.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-2/+2
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-2/+2
2015-09-13Refactoring of the code that handles transformations and snapping in the ↵Diederik van Lierop1-5/+0
selector tool and the node tool. Splitting large chunks of code into some small classes, and eliminating some wrapper methods which were all just too similar (bzr r14363)
2013-04-21fix warningsKris De Gussem1-6/+6
(bzr r12296)
2013-04-21cppcheckKris De Gussem1-72/+91
(bzr r12293)
2012-02-141) Add checkboxes for perpendicular and tangential snapping to the document ↵Diederik van Lierop1-0/+5
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)
2011-10-29cppcheck: variable initialisationKris De Gussem1-0/+1
(bzr r10705)
2011-10-15cppcheckKris De Gussem1-1/+1
(bzr r10678)
2011-10-03Another minor pass of Doxygen cleanup.Jon A. Cruz1-1/+1
(bzr r10659)
2011-08-22Fix snap bug #816044Diederik van Lierop1-0/+4
Fixed bugs: - https://launchpad.net/bugs/816044 (bzr r10572)
2010-11-16Fix display of snap source indicator for constrained snapping in the ↵Diederik van Lierop1-1/+1
selector tool (bzr r9898)
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-10-24Fix paraxial pen tool: apply constraint even if we didn't snapDiederik van Lierop1-1/+1
(bzr r9847)
2010-08-05Wholesale cruft removal part 4; fix crash when rendering guidesKrzysztof Kosi??ski1-13/+13
(bzr r9508.1.48)
2010-05-09Fix small snapping regression (reported in LP #562205, comment #11)Diederik van Lierop1-2/+2
(bzr r9405)
2010-05-09Small improvement of my previous fix in rev. #9402 (bounding box snapping)Diederik van Lierop1-5/+12
(bzr r9404)
2010-05-08Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop1-8/+12
(bzr r9402)
2010-04-18Fix bbox snapping as reported in LP bug #562205Diederik van Lierop1-0/+9
Fixed bugs: - https://launchpad.net/bugs/562205 (bzr r9351)
2010-01-19When snapping to a bounding box, flash that bounding box together with the ↵Diederik van Lierop1-8/+7
snap indicator (bzr r8999)
2010-01-09Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop1-1/+44
for the devs) (bzr r8960)
2009-12-24refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop1-23/+24
which reduces snap jitter) (bzr r8906)
2009-04-12Fix snapping during constrained translation, when only snapping the node ↵Diederik van Lierop1-15/+20
closest to the mouse pointer (bzr r7687)
2009-03-07- When finalizing a curve by double clicking then don't snap to the curve itselfDiederik van Lierop1-5/+12
- When a node and an intersection coincide then snap to the node, not the intersection (but only if snapping is turned on for both of them of course) (bzr r7438)
2009-02-20The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop1-4/+5
displayed "B". (bzr r7335)
2008-12-29Fix bug #311736 (uninitialized variables resulted in weird snapping ↵Diederik van Lierop1-3/+6
behaviour on windows) (bzr r7039)
2008-12-10- Fix bug #304405 (snapping to an intersection of lines at infinity is wrong)Diederik van Lierop1-40/+39
- Replace tabs by spaces (bzr r6985)
2008-11-24Add an option to the preferences to _only_ snap the node closest to the ↵Diederik van Lierop1-4/+7
mouse pointer (bzr r6899)
2008-11-231) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop1-19/+49
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-31Merge from trunkTed Gould1-43/+16
(bzr r6887)
2008-09-21- refactor snapping code, removing code duplicationDiederik van Lierop1-3/+25
- fix snapping to page corners (bzr r6863)
2008-08-11Move all of the snapper code to 2geomDiederik van Lierop1-11/+11
(bzr r6606)
2008-05-12Add a centralized check (i.e. in the snapper mechanism) whether we've ↵Diederik van Lierop1-2/+6
snapped or not, instead of leaving it up to the various tools. This should prevent these tools from moving to (0,0) if they bluntly use the value returned by the snapping mechanism without checking whether snapping has really occured. (bzr r5659)
2008-05-04Next steps in implementing the snapping indicatorDiederik van Lierop1-4/+5
(bzr r5600)
2008-04-07Refactor snapper and snapindicator (in order to enable the snapindicator in ↵Diederik van Lierop1-0/+3
the selector tool) (bzr r5374)
2008-03-08Fixed ctor intialization orderJon A. Cruz1-5/+5
(bzr r4999)
2008-01-031) fix snapping while scalingDiederik van Lierop1-3/+38
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-3/+10
(bzr r4111)
2007-11-03Oops, don't use tabs! (replace tabs by 4 spaces)Diederik van Lierop1-13/+13
(bzr r4020)
2007-11-03Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop1-15/+20
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)
2006-02-15bulk trailing spaces removal. consistency through MD5 of binaryRalf Stephan1-2/+2
(bzr r149)