summaryrefslogtreecommitdiffstats
path: root/src/snap.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-nullptr pass.Emmanuel Gil Peyrot1-10/+10
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-0/+1
A lot of header clean-up.
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-1/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+1
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-1/+0
(bzr r15025)
2015-12-08finally removed all GSList from main folder .h filesMarc Jeanmougin1-1/+0
(bzr r14504.1.15)
2015-09-13Refactoring of the code that handles transformations and snapping in the ↵Diederik van Lierop1-148/+20
selector tool and the node tool. Splitting large chunks of code into some small classes, and eliminating some wrapper methods which were all just too similar (bzr r14363)
2015-05-30Snapping in node tool now also works when:Diederik van Lierop1-3/+8
- when double clicking to insert a node on a path - when dragging a part of the path to deform it Fixed bugs: - https://launchpad.net/bugs/1448859 (bzr r14189)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-3/+3
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-4/+4
change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
2014-09-27Update to experimental r13565Liam P. White1-0/+1
(bzr r13341.5.16)
2014-08-31Header cleanup: stop using Glib types where they aren't truly needed. Eases ↵Liam P. White1-0/+1
GThread deprecation errors. (bzr r13341.1.190)
2013-07-31Cleaned up a bit; fixed struct vs. class forward declarations.Markus Engel1-1/+1
(bzr r11608.1.111)
2013-03-14Kill ancient gcc version check in configure.ac and fix a load of broken ↵Alex Valavanis1-1/+1
forward declarations (bzr r12203)
2012-12-08Selector tool: improve responsiveness for snapping a path's internal ↵Diederik van Lierop1-1/+1
intersections (was unbearable already for paths having 20+ segments) (bzr r11937)
2012-02-141) Add checkboxes for perpendicular and tangential snapping to the document ↵Diederik van Lierop1-2/+8
properties dialog (on the snap tab) 2) Newly created guides (dragged off the ruler) will take on the angle of the curve that's being snapped to (either perpendicularly or tangentialy, depending of the settings in the document properties dialog) (bzr r10975)
2012-01-14Enable tangential and perpendicular snapping to paths (in the node-tool, ↵Diederik van Lierop1-12/+6
pen-tool, pencil-tool, and for guide manipulation; cannot be toggled yet, will always be active when snapping to paths) (bzr r10886)
2011-11-041) Cycle to the next-closest-snap-source when pressing tab, if the ↵Diederik van Lierop1-8/+7
snap-closest-point-only-option has been activated. Works for the selector tool, but also when scaling/stretching/skewing a selection of nodes in the node tool 2) Cleanup and simplification of the code that finds the closest snapsource (bzr r10720)
2011-10-27Fixing more broken and split doc comments.Jon A. Cruz1-8/+322
(bzr r10697)
2011-10-081) make snapping to clip/mask paths optional (see document properties dialog ↵Diederik van Lierop1-2/+6
-> snap tab) 2) for debugging purposes: code added for showing all snap candidates 3) groundwork for tangential/perpendicular snapping (bzr r10672)
2011-10-05Cleanup for src/forward.h. (About 19 of the affected files did not require ↵Jon A. Cruz1-0/+1
the contents forward.h at all). (bzr r10667)
2011-09-02Rename the struct "SnappedConstraints" to the more meaningfull ↵Diederik van Lierop1-1/+1
"IntermSnapResults" (bzr r10612)
2011-08-27Allow snapping to path intersections without snapping to the paths themselvesDiederik van Lierop1-1/+1
(bzr r10585)
2010-12-27Node tool: snap while scaling a selection of nodes. Consider this as ↵Diederik van Lierop1-8/+9
experimental; needs cleanup! (bzr r9985)
2010-11-17Shift should disable snapping when dragging the rotation center of an objectDiederik van Lierop1-2/+3
(bzr r9903)
2010-11-07Leave constrained angular snapping to the snap manager, instead of handling ↵Diederik van Lierop1-0/+5
it locally (bzr r9880)
2010-10-07Fix self-snapping when dragging the transformation center of a selection ↵Diederik van Lierop1-4/+4
containing multiple items (as reported by LucaDC in LP #607107, comment #30) (bzr r9817)
2010-08-11Fix a crash introduced by my previous commitDiederik van Lierop1-1/+0
(bzr r9701)
2010-08-11Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop1-0/+6
(bzr r9697)
2010-08-07Add a constrained snap method that takes multiple constraints. This reduces ↵Diederik van Lierop1-0/+4
the code repetitiveness in the node tool (bzr r9692)
2010-07-24Avoid self-snapping when dragging a rotation center, and draw the rotation ↵Diederik van Lierop1-0/+9
center at the snapped position (bzr r9641)
2010-07-12- Snap while rotating an object using the selector toolDiederik van Lierop1-12/+15
- Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
2010-03-08Don't snap to points which are off-screenDiederik van Lierop1-1/+1
(bzr r9167)
2010-02-251) Fix moving by an integer multiple of the grid spacing (<alt>-dragging in ↵Diederik van Lierop1-1/+1
the selector tool) 2) Allow constrained translation for 1) (with <ctrl>) 3) Fix snapping to the grid when pasting 4) Show snap indicators for all of the above 5) Implement snap delay mechanism for 1) and 2) (bzr r9113)
2010-01-30Finally introducing the pre-snap indicatorDiederik van Lierop1-0/+2
(bzr r9034)
2010-01-23Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop1-23/+12
specified explicitly) (bzr r9014)
2010-01-10* Implement node snapping.Krzysztof Kosi??ski1-20/+37
* Fix minor bug in linear grow. * Add --fixes. * Move some node selection-related functions to ControlPointSelection. Fixed bugs: - https://launchpad.net/bugs/170561 - https://launchpad.net/bugs/171893 - https://launchpad.net/bugs/182585 - https://launchpad.net/bugs/446773 (bzr r8846.2.9)
2010-01-09Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop1-25/+18
for the devs) (bzr r8960)
2010-01-01Refactor snapping of gradient handles; now behaves like all other snapping, ↵Diederik van Lierop1-2/+2
i.e. no more snapping to imaginary infinite lines along the bounding box Fixed bugs: - https://launchpad.net/bugs/371001 (bzr r8932)
2009-12-24refactoring the snapping code (laying the groundwork for my next commit ↵Diederik van Lierop1-26/+26
which reduces snap jitter) (bzr r8906)
2009-08-06Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert1-1/+1
which cannot be fixed easily. (bzr r8422)
2009-08-05SPDocument->Documentjohnce1-1/+1
(bzr r8404)
2009-08-02Snap guides to grids (fixes bug #170741)Diederik van Lierop1-1/+9
(bzr r8381)
2009-07-29Snap guides to intersections of curves too (see bug #405419)Diederik van Lierop1-1/+1
(bzr r8361)
2009-06-20Remove an unused parameter from the snapping APIDiederik van Lierop1-3/+1
(bzr r8119)
2009-06-18Documenting of the snapping APIDiederik van Lierop1-7/+16
(bzr r8111)
2009-06-02When dragging the origin of a guide along that guide, we should use ↵Diederik van Lierop1-1/+3
constrained snapping instead of free snapping. Also make sure that we snap to paths too, not just to guides (bzr r7973)
2009-03-15Implement constrained snapping when dragging the position and size handles ↵Diederik van Lierop1-0/+2
of a rectangle in the node tool, with the ctrl-key being pressed. (bzr r7497)
2009-03-14Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop1-5/+0
(bzr r7491)