summaryrefslogtreecommitdiffstats
path: root/src/line-snapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When doing a constrained snap, then don't try snapping the mouse pointer ↵Diederik van Lierop2010-08-201-6/+9
| | | | | itself but try snapping its projection (onto the constraint) instead (bzr r9719)
* Implement constrained snapping to nodesDiederik van Lierop2010-08-101-1/+2
| | | (bzr r9696)
* Simplify code related to snapping while rotatingDiederik van Lierop2010-07-171-14/+5
| | | (bzr r9619)
* - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-22/+39
| | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
* Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop2010-05-081-4/+4
| | | (bzr r9402)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-4/+2
| | | | | specified explicitly) (bzr r9014)
* Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop2010-01-091-21/+15
| | | | | for the devs) (bzr r8960)
* refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop2009-12-241-7/+7
| | | | | which reduces snap jitter) (bzr r8906)
* Snap to a guide's origin too (resulting in a 2D constraint), instead of only ↵Diederik van Lierop2009-08-021-11/+41
| | | | | to the guide itself (only 1D constraint) (bzr r8383)
* Use the line intersection routines in 2geom/line.h instead of the deprecated ↵Diederik van Lierop2009-04-121-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)
* Fix snapping during constrained translation, when only snapping the node ↵Diederik van Lierop2009-04-121-1/+1
| | | | | closest to the mouse pointer (bzr r7687)
* Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop2009-03-141-2/+0
| | | (bzr r7491)
* 2Geom migration: use 2geom::projection instead of libnr's project_on_linesegmentDiederik van Lierop2009-03-141-1/+1
| | | (bzr r7487)
* * Implement constrained snapping of knotsDiederik van Lierop2009-03-131-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)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-5/+6
| | | | | displayed "B". (bzr r7335)
* - Snap to the midpoint of shapes and bboxesDiederik van Lierop2009-01-181-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)
* 1) snap midpoints of line segments (both as source and as target)Diederik van Lierop2008-12-141-16/+16
| | | | | 2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
* Merge from fe-movedTed Gould2008-11-211-2/+2
| | | (bzr r6891)
* From trunkTed Gould2008-10-271-7/+7
| | | (bzr r6885)
* - refactor snapping code, removing code duplicationDiederik van Lierop2008-09-211-1/+1
| | | | | - fix snapping to page corners (bzr r6863)
* If a snapper needs a reference to a SPNamedView or a SPDesktop, then get ↵Diederik van Lierop2008-09-071-1/+1
| | | | | that reference via the SnapManager (instead of storing references in the snapper and accessing them directly) (bzr r6773)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-18/+18
| | | (bzr r6606)
* NR::Maybe => boost::optionalJohan B. C. Engelen2008-08-051-2/+2
| | | (bzr r6569)
* 2geomify a lot of NR::Points to Geom::PointJohan B. C. Engelen2008-08-011-1/+1
| | | (bzr r6513)
* Next steps in implementing the snapping indicatorDiederik van Lierop2008-05-041-1/+3
| | | (bzr r5600)
* - Major refactoring of snapping related code...Diederik van Lierop2008-04-301-9/+17
| | | | | - Enabling snap indicator for all remaining tools (bzr r5556)
* Refactor snapping mechanisms: in seltrans.cpp, a GSList was converted to a ↵Diederik van Lierop2008-04-111-2/+2
| | | | | std::list in four different places. Now this is handled in only one place (bzr r5407)
* Node tool: snap to paths and their nodes, incl. to the path currently being ↵Diederik van Lierop2008-03-081-1/+2
| | | | | edited (bzr r4989)
* 1) fix snapping while scalingDiederik van Lierop2008-01-031-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)
* 1) Fix bug #178312Diederik van Lierop2007-12-271-14/+7
| | | | | 2) Fix constrained snapping to objects (bzr r4314)
* r17225@mini-emma: ted | 2007-12-10 20:22:27 -0800Ted Gould2007-12-111-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)
* Snap to axonometric grid linesDiederik van Lierop2007-12-081-9/+50
| | | (bzr r4194)
* 1) Improving snapping logic 2) When skewing, don't snap to selection itselfDiederik van Lierop2007-11-181-1/+1
| | | (bzr r4111)
* Warning cleanupJon A. Cruz2007-11-101-10/+10
| | | (bzr r4052)
* Remove geom.cpp and geom.h. Now use 2geom/geom.cpp and 2geom.h.Johan B. C. Engelen2007-11-091-5/+6
| | | | | Add conversion functions between Geom::Point and NR::Point (bzr r4050)
* Renaming classes: SnappedLine -> SnappedLineSegment, and SnappedInfiniteLine ↵Diederik van Lierop2007-11-091-1/+1
| | | | | -> SnappedLine (bzr r4048)
* Oops, don't use tabs! (replace tabs by 4 spaces)Diederik van Lierop2007-11-031-9/+9
| | | (bzr r4020)
* Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop2007-11-031-31/+22
| | | | | 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)
* Improving the performance of the object snapperDiederik van Lierop2007-09-051-3/+7
| | | (bzr r3689)
* 1) Changes to snapping preferences dialogDiederik van Lierop2007-07-281-7/+9
| | | | | | 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)
* Various snapping cleanups and bug fixes.Carl Hetherington2006-05-051-6/+4
| | | (bzr r734)
* moving trunk for module inkscapeMenTaLguY2006-01-161-0/+80
(bzr r1)