summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Snap guides to intersections of curves too (see bug #405419)Diederik van Lierop2009-07-291-3/+11
| | | (bzr r8361)
* When dragging the origin of a guide along that guide, we should use ↵Diederik van Lierop2009-06-021-11/+26
| | | | | constrained snapping instead of free snapping. Also make sure that we snap to paths too, not just to guides (bzr r7973)
* Two minor snapping fixesDiederik van Lierop2009-04-241-2/+8
| | | (bzr r7770)
* Fix bug #356743Diederik van Lierop2009-04-071-3/+4
| | | (bzr r7662)
* Remove some left-over debugging output that got accidentally committedDiederik van Lierop2009-04-011-1/+0
| | | (bzr r7602)
* More sensitive selection of snap target when snapping guides to objects with ↵Diederik van Lierop2009-03-311-7/+3
| | | | | multiple snap candidates (fixes bug 352247) (bzr r7598)
* Implement constrained snapping when dragging the position and size handles ↵Diederik van Lierop2009-03-151-4/+1
| | | | | of a rectangle in the node tool, with the ctrl-key being pressed. (bzr r7497)
* 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-2/+3
| | | (bzr r7487)
* - When finalizing a curve by double clicking then don't snap to the curve itselfDiederik van Lierop2009-03-071-0/+3
| | | | | - 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)
* Allow snapping to objects in hidden layersDiederik van Lierop2009-02-271-3/+3
| | | (bzr r7389)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-37/+42
| | | | | displayed "B". (bzr r7335)
* After snapping, show a tooltip together with the snap indicatorDiederik van Lierop2009-02-151-16/+16
| | | (bzr r7296)
* Store the snapper tolerances in the snap-preferences instead of in each ↵Diederik van Lierop2009-01-311-0/+15
| | | | | 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-63/+74
| | | | | | | - 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-5/+15
| | | (bzr r7108)
* Remove some obsolete from_2geom() callsDiederik van Lierop2008-12-301-1/+1
| | | (bzr r7043)
* propagate additional_affine into groups of clip/mask pathsThomas Holder2008-12-201-1/+1
| | | (bzr r7017)
* object-snapper.cppThomas Holder2008-12-201-10/+4
| | | | | | | | | | | | | | | | | | | * fix snapping to clip/mask with parent transform * replace matrix_to_desktop call sp-item.h sp-item.cpp * improve snapping to clip/mask with parent transform * remove matrix_to_desktop/matrix_from_desktop * use desktop->doc2dt() with sp_item_i2d_affine(...) desktop.h desktop.cpp * new method: dt2doc() selection-chemistry.cpp * remove awkward matrix_to_desktop(matrix_from_desktop(...)) calls (bzr r7016)
* 1) snap midpoints of line segments (both as source and as target)Diederik van Lierop2008-12-141-132/+160
| | | | | 2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
* 1) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop2008-11-231-2/+2
| | | | | | | | 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)
* Merge from fe-movedTed Gould2008-11-211-13/+22
| | | (bzr r6891)
* From trunkTed Gould2008-10-271-26/+28
| | | (bzr r6885)
* Merging from trunkTed Gould2008-10-111-8/+6
| | | (bzr r6884)
* - refactor snapping code, removing code duplicationDiederik van Lierop2008-09-211-9/+9
| | | | | - fix snapping to page corners (bzr r6863)
* LIBNR REMOVAL. remove nartbpath code!!!Johan B. C. Engelen2008-09-101-12/+0
| | | | | | remove nartbpath test code etc. remove inkscape's path parsing, since it is now done by 2geom. (bzr r6789)
* LIBNR REMOVAL. Deleted nr-path.h/.cpp which is no longer used. (removed all ↵Johan B. C. Engelen2008-09-071-1/+0
| | | | | references to nr-path.h) (bzr r6774)
* If a snapper needs a reference to a SPNamedView or a SPDesktop, then get ↵Diederik van Lierop2008-09-071-27/+23
| | | | | 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-13/+14
| | | (bzr r6772)
* removed unnecessary pointer, changed to by reference. (the pointer was not ↵Johan B. C. Engelen2008-09-011-2/+2
| | | | | allowed to be NULL, so reference is better) (bzr r6752)
* Eliminate SP_ACTIVE_DESKTOP in the object-snapperDiederik van Lierop2008-08-301-26/+13
| | | (bzr r6730)
* Fix regression in snapping to paths (which caused self-snapping)Diederik van Lierop2008-08-291-9/+8
| | | (bzr r6727)
* Use new methods from 2geom's APIDiederik van Lierop2008-08-151-14/+7
| | | (bzr r6635)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-64/+65
| | | (bzr r6606)
* Snap to intersections of any kind of path (were we previously only could ↵Diederik van Lierop2008-08-081-25/+8
| | | | | snap to intersections of line-segments) (bzr r6597)
* remove many unnecessary to_2geom and from_2geom callsJohan B. C. Engelen2008-08-081-13/+13
| | | (bzr r6593)
* Fix regression in object snapper which caused self-snappingDiederik van Lierop2008-08-071-4/+15
| | | (bzr r6587)
* NR::Maybe => boost::optionalJohan B. C. Engelen2008-08-051-4/+4
| | | (bzr r6569)
* Refactoring the object-snapper to use 2geom pathsDiederik van Lierop2008-08-031-162/+115
| | | (bzr r6552)
* 2geomify a lot of NR::Points to Geom::PointJohan B. C. Engelen2008-08-011-2/+2
| | | (bzr r6513)
* Snap to page corners too (you won't notice the difference yet because it ↵Diederik van Lierop2008-07-241-24/+33
| | | | | 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-39/+108
| | | (bzr r6386)
* remove all old nartbpath code from SPCurve!!! (in other words, ↵Johan B. C. Engelen2008-07-161-1/+1
| | | | | lib2geomification of SPCurve complete) (bzr r6330)
* 2geomify SPCurve::new_from_rectJohan B. C. Engelen2008-07-081-2/+4
| | | (bzr r6235)
* create pathvector_for_curve method.Johan B. C. Engelen2008-07-041-1/+1
| | | (bzr r6160)
* change NR::Matrix to Geom:: for many sp_item_xxx_affine functionsJohan B. C. Engelen2008-06-121-1/+1
| | | (bzr r5915)
* complete adding const to have only NArtBpath const * get_bpath() const; for ↵Johan B. C. Engelen2008-05-091-6/+2
| | | | | accessing the protected member of SPCurve. Nowhere in Inkscape source is the path data changed of SPCurve, except within SPCurve's own methods ! So removed the non-const NArtBpath* get_bpath. (bzr r5642)
* - try to use more forward declarations for less dependencies on display/curve.hJohan B. C. Engelen2008-05-091-8/+28
| | | | | | - 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)
* A little bit of refactoring of constrained object snappingDiederik van Lierop2008-05-081-9/+12
| | | (bzr r5635)
* struct SPCurve => class SPCurveJohan B. C. Engelen2008-05-051-3/+3
| | | | | change all sp_curve_methods functions to SPCurve::methods. (bzr r5609)