summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.h (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-use-override pass.Emmanuel Gil Peyrot1-6/+6
This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-3/+3
A lot of header clean-up.
2013-07-31Cleaned up a bit; fixed struct vs. class forward declarations.Markus Engel1-1/+1
(bzr r11608.1.111)
2012-01-14Enable tangential and perpendicular snapping to paths (in the node-tool, ↵Diederik van Lierop1-0/+7
pen-tool, pencil-tool, and for guide manipulation; cannot be toggled yet, will always be active when snapping to paths) (bzr r10886)
2011-12-11mixed usage of class and struct for same objectKris De Gussem1-2/+2
(bzr r10766.1.1)
2011-10-27Fixing more broken and split doc comments.Jon A. Cruz1-0/+17
(bzr r10697)
2011-10-25Cleanup pass on documentation that was dumping garbage into doxygen output.Jon A. Cruz1-5/+4
(bzr r10696)
2011-09-02Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop1-6/+6
"IntermSnapResults" (bzr r10612)
2011-08-231) Use the "snap guides" button both for guides being snap sources, as well ↵Diederik van Lierop1-10/+1
as for guides being snap targets 2) Remove some redundant guide-snapping code from the object snapper, (bzr r10576)
2011-06-30Implement decent snapping to text (baseline & anchor), and provide a toggle ↵Diederik van Lierop1-0/+1
button for this (as requested in LP bug #727281 ) (bzr r10392)
2011-02-02update to latest 2geom !Johan B. C. Engelen1-1/+1
(bzr r10025)
2010-08-20When doing a constrained snap, then don't try snapping the mouse pointer ↵Diederik van Lierop1-5/+8
itself but try snapping its projection (onto the constraint) instead (bzr r9719)
2010-08-10Implement constrained snapping to nodesDiederik van Lierop1-2/+4
(bzr r9696)
2010-07-211) Fix snapping of guides to nodes/paths; 2) replace a g_assert with a ↵Diederik van Lierop1-7/+0
return statement (bzr r9638)
2010-07-20- Remove some old code which snapped the rotation center to the bbox, and ↵Diederik van Lierop1-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)
2010-07-19- do not use shift to disable snapping while holding shift to rotate a guideDiederik van Lierop1-1/+1
- snap guides to paths too - always show the same snap indicator (bzr r9606.1.15)
2010-07-18- do not use shift to disable snapping while holding shift to rotate a guideDiederik van Lierop1-1/+1
- snap guides to paths too - always show the same snap indicator (bzr r9625)
2010-07-12- Snap while rotating an object using the selector toolDiederik van Lierop1-3/+3
- Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
2010-01-23Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop1-8/+2
specified explicitly) (bzr r9014)
2010-01-09Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop1-41/+15
for the devs) (bzr r8960)
2009-12-24refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop1-43/+43
which reduces snap jitter) (bzr r8906)
2009-06-02When dragging the origin of a guide along that guide, we should use ↵Diederik van Lierop1-2/+6
constrained snapping instead of free snapping. Also make sure that we snap to paths too, not just to guides (bzr r7973)
2009-02-20The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop1-8/+13
displayed "B". (bzr r7335)
2009-02-15After snapping, show a tooltip together with the snap indicatorDiederik van Lierop1-1/+1
(bzr r7296)
2009-01-31Store the snapper tolerances in the snap-preferences instead of in each ↵Diederik van Lierop1-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)
2009-01-18- Snap to the midpoint of shapes and bboxesDiederik van Lierop1-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)
2009-01-11Optionally snap from/to midpoints of the edges of a bounding boxDiederik van Lierop1-2/+4
(bzr r7108)
2008-12-141) snap midpoints of line segments (both as source and as target)Diederik van Lierop1-29/+29
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-12/+8
(bzr r6885)
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-09-07Remove pointer to SPDesktop from ObjectSnapperDiederik van Lierop1-3/+0
(bzr r6772)
2008-08-30Eliminate SP_ACTIVE_DESKTOP in the object-snapperDiederik van Lierop1-5/+8
(bzr r6730)
2008-08-11Move all of the snapper code to 2geomDiederik van Lierop1-22/+22
(bzr r6606)
2008-08-05NR::Maybe => boost::optionalJohan B. C. Engelen1-2/+2
(bzr r6569)
2008-08-03Refactoring the object-snapper to use 2geom pathsDiederik van Lierop1-67/+66
(bzr r6552)
2008-07-24Snap to page corners too (you won't notice the difference yet because it ↵Diederik van Lierop1-4/+3
will snap to the page's sides instead as these are always closer) (bzr r6414)
2008-07-21Implement snapping of clipping paths and masksDiederik van Lierop1-54/+72
(bzr r6386)
2008-05-09- try to use more forward declarations for less dependencies on display/curve.hJohan B. C. Engelen1-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)
2008-04-30- Major refactoring of snapping related code...Diederik van Lierop1-67/+30
- 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-3/+3
std::list in four different places. Now this is handled in only one place (bzr r5407)
2008-03-25Major overhaul of the selector tool's internals to improve handling of ↵Diederik van Lierop1-1/+2
transformations, origins and snapping, for both visual and geometric bounding boxes (see for example bug #174046 in Launchpad) (bzr r5189)
2008-03-15Fix two bugs in the object snapperDiederik van Lierop1-1/+2
(bzr r5099)
2008-03-12Snap to page borderDiederik van Lierop1-2/+14
(bzr r5059)
2008-03-08Node tool: snap to paths and their nodes, incl. to the path currently being ↵Diederik van Lierop1-5/+11
edited (bzr r4989)
2008-01-08Fix LP #181020: When snapping a guide, now only the part of the guide near ↵Diederik van Lierop1-0/+1
the pointer is considered (bzr r4435)
2007-12-27Snapping a guide to nodes (while dragging it across the canvas) now also ↵Diederik van Lierop1-5/+14
works for angled guides (bzr r4321)
2007-12-271) Fix bug #178312Diederik van Lierop1-2/+17
2) Fix constrained snapping to objects (bzr r4314)
2007-11-14Snap to intersections of line segmentsDiederik van Lierop1-6/+7
(bzr r4082)