summaryrefslogtreecommitdiffstats
path: root/src/line-snapper.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-03Fix CI (clangtidyfull)Patrick Storz1-9/+5
2019-01-02modernize loopsMarc Jeanmougin1-5/+5
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
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-2/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+2
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-2/+0
(bzr r15025)
2014-09-27Update to experimental r13565Liam P. White1-2/+3
(bzr r13341.5.16)
2014-08-31Header cleanup: stop using Glib types where they aren't truly needed. Eases ↵Liam P. White1-2/+3
GThread deprecation errors. (bzr r13341.1.190)
2014-01-12pass class variables by reference for performanceKris De Gussem1-1/+1
(bzr r12917)
2012-03-07cppcheckKris De Gussem1-2/+2
(bzr r11052)
2012-02-14Snap to grid/guide lines perpendicularlyDiederik van Lierop1-1/+28
(bzr r10976)
2011-12-18Refactor snap-preferences a bit moreDiederik van Lierop1-2/+2
(bzr r10780)
2011-10-27Fixing more broken and split doc comments.Jon A. Cruz1-2/+1
(bzr r10697)
2011-10-18cppcheckKris De Gussem1-2/+2
(bzr r10681)
2011-10-03Another minor pass of Doxygen cleanup.Jon A. Cruz1-1/+1
(bzr r10659)
2011-09-02Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop1-9/+9
"IntermSnapResults" (bzr r10612)
2010-10-19Use a better snap metric for constrained snapping (i.e. calculate the ↵Diederik van Lierop1-3/+3
distance to the original point, not the projected point). This should more accurately predict what the user wants to snap to (bzr r9837)
2010-08-20When doing a constrained snap, then don't try snapping the mouse pointer ↵Diederik van Lierop1-6/+9
itself but try snapping its projection (onto the constraint) instead (bzr r9719)
2010-08-10Implement constrained snapping to nodesDiederik van Lierop1-1/+2
(bzr r9696)
2010-07-17Simplify code related to snapping while rotatingDiederik van Lierop1-14/+5
(bzr r9619)
2010-07-12- Snap while rotating an object using the selector toolDiederik van Lierop1-22/+39
- Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
2010-05-08Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop1-4/+4
(bzr r9402)
2010-01-23Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop1-4/+2
specified explicitly) (bzr r9014)
2010-01-09Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop1-21/+15
for the devs) (bzr r8960)
2009-12-24refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop1-7/+7
which reduces snap jitter) (bzr r8906)
2009-08-02Snap to a guide's origin too (resulting in a 2D constraint), instead of only ↵Diederik van Lierop1-11/+41
to the guide itself (only 1D constraint) (bzr r8383)
2009-04-12Use the line intersection routines in 2geom/line.h instead of the deprecated ↵Diederik van Lierop1-17/+17
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-04-12Fix snapping during constrained translation, when only snapping the node ↵Diederik van Lierop1-1/+1
closest to the mouse pointer (bzr r7687)
2009-03-14Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop1-2/+0
(bzr r7491)
2009-03-142Geom migration: use 2geom::projection instead of libnr's project_on_linesegmentDiederik van Lierop1-1/+1
(bzr r7487)
2009-03-13* Implement constrained snapping of knotsDiederik van Lierop1-3/+2
* Implement snapping of the rectangle's radius handles * Line snappers: set the snap target in the derived class instead of in findBestSnap() (bzr r7479)
2009-02-20The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop1-5/+6
displayed "B". (bzr r7335)
2009-01-18- Snap to the midpoint of shapes and bboxesDiederik van Lierop1-1/+1
- Snap to the midpoint of paths and bbox edges - Refactor the snapping toggle, i.e. what snaps to what when toggling a specific option in the snapping toolbar PS: icons.svg has been modified, so use "make install" if needed (bzr r7144)
2008-12-141) snap midpoints of line segments (both as source and as target)Diederik van Lierop1-16/+16
2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
2008-11-21Merge from fe-movedTed Gould1-2/+2
(bzr r6891)
2008-10-27From trunkTed Gould1-7/+7
(bzr r6885)
2008-09-21- refactor snapping code, removing code duplicationDiederik van Lierop1-1/+1
- fix snapping to page corners (bzr r6863)
2008-09-07If a snapper needs a reference to a SPNamedView or a SPDesktop, then get ↵Diederik van Lierop1-1/+1
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-18/+18
(bzr r6606)
2008-08-05NR::Maybe => boost::optionalJohan B. C. Engelen1-2/+2
(bzr r6569)
2008-08-012geomify a lot of NR::Points to Geom::PointJohan B. C. Engelen1-1/+1
(bzr r6513)
2008-05-04Next steps in implementing the snapping indicatorDiederik van Lierop1-1/+3
(bzr r5600)
2008-04-30- Major refactoring of snapping related code...Diederik van Lierop1-9/+17
- 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-2/+2
std::list in four different places. Now this is handled in only one place (bzr r5407)
2008-03-08Node tool: snap to paths and their nodes, incl. to the path currently being ↵Diederik van Lierop1-1/+2
edited (bzr r4989)
2008-01-031) fix snapping while scalingDiederik van Lierop1-29/+26
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-271) Fix bug #178312Diederik van Lierop1-14/+7
2) Fix constrained snapping to objects (bzr r4314)
2007-12-11r17225@mini-emma: ted | 2007-12-10 20:22:27 -0800Ted Gould1-1/+1
Adjusting line-snapper.cpp so that it doesn't include snapper-line.cpp such that it can be included normally in the Makefile_insert. Also, adding in helper-fns.h to the included source files. (bzr r4207)
2007-12-08Snap to axonometric grid linesDiederik van Lierop1-9/+50
(bzr r4194)
2007-11-181) Improving snapping logic 2) When skewing, don't snap to selection itselfDiederik van Lierop1-1/+1
(bzr r4111)