summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot2018-06-181-6/+6
| | | | | This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-3/+3
| | | | A lot of header clean-up.
* Cleaned up a bit; fixed struct vs. class forward declarations.Markus Engel2013-07-311-1/+1
| | | (bzr r11608.1.111)
* Enable tangential and perpendicular snapping to paths (in the node-tool, ↵Diederik van Lierop2012-01-141-0/+7
| | | | | pen-tool, pencil-tool, and for guide manipulation; cannot be toggled yet, will always be active when snapping to paths) (bzr r10886)
* mixed usage of class and struct for same objectKris De Gussem2011-12-111-2/+2
| | | (bzr r10766.1.1)
* Fixing more broken and split doc comments.Jon A. Cruz2011-10-271-0/+17
| | | (bzr r10697)
* Cleanup pass on documentation that was dumping garbage into doxygen output.Jon A. Cruz2011-10-251-5/+4
| | | (bzr r10696)
* Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop2011-09-021-6/+6
| | | | | "IntermSnapResults" (bzr r10612)
* 1) Use the "snap guides" button both for guides being snap sources, as well ↵Diederik van Lierop2011-08-231-10/+1
| | | | | | | as for guides being snap targets 2) Remove some redundant guide-snapping code from the object snapper, (bzr r10576)
* Implement decent snapping to text (baseline & anchor), and provide a toggle ↵Diederik van Lierop2011-06-301-0/+1
| | | | | button for this (as requested in LP bug #727281 ) (bzr r10392)
* update to latest 2geom !Johan B. C. Engelen2011-02-021-1/+1
| | | (bzr r10025)
* When doing a constrained snap, then don't try snapping the mouse pointer ↵Diederik van Lierop2010-08-201-5/+8
| | | | | itself but try snapping its projection (onto the constraint) instead (bzr r9719)
* Implement constrained snapping to nodesDiederik van Lierop2010-08-101-2/+4
| | | (bzr r9696)
* 1) Fix snapping of guides to nodes/paths; 2) replace a g_assert with a ↵Diederik van Lierop2010-07-211-7/+0
| | | | | return statement (bzr r9638)
* - Remove some old code which snapped the rotation center to the bbox, and ↵Diederik van Lierop2010-07-201-1/+0
| | | | | | | which discarded all of the snapping settings - Improve the logic behind the snapping buttons, i.e. what snaps to what for each of the buttons (bzr r9634)
* - do not use shift to disable snapping while holding shift to rotate a guideDiederik van Lierop2010-07-181-1/+1
| | | | | | - snap guides to paths too - always show the same snap indicator (bzr r9625)
* - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-3/+3
| | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-8/+2
| | | | | specified explicitly) (bzr r9014)
* Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop2010-01-091-41/+15
| | | | | for the devs) (bzr r8960)
* refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop2009-12-241-43/+43
| | | | | which reduces snap jitter) (bzr r8906)
* When dragging the origin of a guide along that guide, we should use ↵Diederik van Lierop2009-06-021-2/+6
| | | | | constrained snapping instead of free snapping. Also make sure that we snap to paths too, not just to guides (bzr r7973)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-8/+13
| | | | | displayed "B". (bzr r7335)
* After snapping, show a tooltip together with the snap indicatorDiederik van Lierop2009-02-151-1/+1
| | | (bzr r7296)
* Store the snapper tolerances in the snap-preferences instead of in each ↵Diederik van Lierop2009-01-311-30/+33
| | | | | snapper individualy. This way we don't have to update all snappers when the namedview has been updated (and we can get rid of the _update_snap_distances() call) (bzr r7208)
* - Snap to the midpoint of shapes and bboxesDiederik van Lierop2009-01-181-22/+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)
* Optionally snap from/to midpoints of the edges of a bounding boxDiederik van Lierop2009-01-111-2/+4
| | | (bzr r7108)
* 1) snap midpoints of line segments (both as source and as target)Diederik van Lierop2008-12-141-29/+29
| | | | | 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-12/+8
| | | (bzr r6885)
* 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)
* Remove pointer to SPDesktop from ObjectSnapperDiederik van Lierop2008-09-071-3/+0
| | | (bzr r6772)
* Eliminate SP_ACTIVE_DESKTOP in the object-snapperDiederik van Lierop2008-08-301-5/+8
| | | (bzr r6730)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-22/+22
| | | (bzr r6606)
* NR::Maybe => boost::optionalJohan B. C. Engelen2008-08-051-2/+2
| | | (bzr r6569)
* Refactoring the object-snapper to use 2geom pathsDiederik van Lierop2008-08-031-67/+66
| | | (bzr r6552)
* Snap to page corners too (you won't notice the difference yet because it ↵Diederik van Lierop2008-07-241-4/+3
| | | | | will snap to the page's sides instead as these are always closer) (bzr r6414)
* Implement snapping of clipping paths and masksDiederik van Lierop2008-07-211-54/+72
| | | (bzr r6386)
* - try to use more forward declarations for less dependencies on display/curve.hJohan B. C. Engelen2008-05-091-3/+3
| | | | | | - change _bpath to private member of SPCurve, obtain and set with get_bpath and set_bpath. - added const methods, so protect changes to _bpath in SPCurve (bzr r5636)
* - Major refactoring of snapping related code...Diederik van Lierop2008-04-301-67/+30
| | | | | - 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-3/+3
| | | | | std::list in four different places. Now this is handled in only one place (bzr r5407)
* Major overhaul of the selector tool's internals to improve handling of ↵Diederik van Lierop2008-03-251-1/+2
| | | | | transformations, origins and snapping, for both visual and geometric bounding boxes (see for example bug #174046 in Launchpad) (bzr r5189)
* Fix two bugs in the object snapperDiederik van Lierop2008-03-151-1/+2
| | | (bzr r5099)
* Snap to page borderDiederik van Lierop2008-03-121-2/+14
| | | (bzr r5059)
* Node tool: snap to paths and their nodes, incl. to the path currently being ↵Diederik van Lierop2008-03-081-5/+11
| | | | | edited (bzr r4989)
* Fix LP #181020: When snapping a guide, now only the part of the guide near ↵Diederik van Lierop2008-01-081-0/+1
| | | | | the pointer is considered (bzr r4435)
* Snapping a guide to nodes (while dragging it across the canvas) now also ↵Diederik van Lierop2007-12-271-5/+14
| | | | | works for angled guides (bzr r4321)
* 1) Fix bug #178312Diederik van Lierop2007-12-271-2/+17
| | | | | 2) Fix constrained snapping to objects (bzr r4314)
* Snap to intersections of line segmentsDiederik van Lierop2007-11-141-6/+7
| | | (bzr r4082)
* Improve the user interaction for snapping of bounding boxes, and add an new ↵Diederik van Lierop2007-11-051-2/+2
| | | | | tab in document properties for detailed snapping options (bzr r4033)