summaryrefslogtreecommitdiffstats
path: root/src/snapped-point.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
2015-09-13Refactoring of the code that handles transformations and snapping in the ↵Diederik van Lierop1-4/+0
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)
2014-09-27Update to experimental r13565Liam P. White1-3/+4
(bzr r13341.5.16)
2014-08-31Header cleanup: stop using Glib types where they aren't truly needed. Eases ↵Liam P. White1-3/+4
GThread deprecation errors. (bzr r13341.1.190)
2014-01-12pass class variables by reference for performanceKris De Gussem1-1/+1
(bzr r12917)
2012-02-141) Add checkboxes for perpendicular and tangential snapping to the document ↵Diederik van Lierop1-0/+2
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)
2010-10-29- Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop1-1/+1
mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
2010-10-24Fix paraxial pen tool: apply constraint even if we didn't snapDiederik van Lierop1-1/+1
(bzr r9847)
2010-08-07Add a constrained snap method that takes multiple constraints. This reduces ↵Diederik van Lierop1-1/+3
the code repetitiveness in the node tool (bzr r9692)
2010-08-05Wholesale cruft removal part 4; fix crash when rendering guidesKrzysztof Kosi??ski1-2/+1
(bzr r9508.1.48)
2010-05-08Fix bounding box snapping (LP562205, comment 6, issue II)Diederik van Lierop1-3/+5
(bzr r9402)
2010-02-251) Fix moving by an integer multiple of the grid spacing (<alt>-dragging in ↵Diederik van Lierop1-0/+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-19When snapping to a bounding box, flash that bounding box together with the ↵Diederik van Lierop1-4/+4
snap indicator (bzr r8999)
2010-01-09Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop1-53/+8
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-4/+7
which reduces snap jitter) (bzr r8906)
2009-08-02Snap to a guide's origin too (resulting in a 2D constraint), instead of only ↵Diederik van Lierop1-0/+1
to the guide itself (only 1D constraint) (bzr r8383)
2009-06-02When dragging the origin of a guide along that guide, we should use ↵Diederik van Lierop1-0/+1
constrained snapping instead of free snapping. Also make sure that we snap to paths too, not just to guides (bzr r7973)
2009-04-12Improved wording for the snap indicator: gradients snap to their parent's ↵Diederik van Lierop1-1/+1
bounding box, so the snap indicator now displays "bla bla to bounding box" (bzr r7689)
2009-03-14Remove obsolete includes of libnr files in the snapping codeDiederik van Lierop1-3/+2
(bzr r7491)
2009-03-13* Implement constrained snapping of knotsDiederik van Lierop1-1/+1
* Implement snapping of the rectangle's radius handles * Line snappers: set the snap target in the derived class instead of in findBestSnap() (bzr r7479)
2009-02-27More accurate wording in snap tooltipsDiederik van Lierop1-2/+8
(bzr r7388)
2009-02-20The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop1-5/+37
displayed "B". (bzr r7335)
2009-02-15After snapping, show a tooltip together with the snap indicatorDiederik van Lierop1-1/+2
(bzr r7296)
2009-01-26All snap options which can be accessed through the snapping toolbar are now ↵Diederik van Lierop1-1/+1
removed from the document properties dialog (bzr r7183)
2009-01-16work a bit on snapindicator: added switch statement for different typesJohan B. C. Engelen1-1/+1
(bzr r7140)
2008-12-29Fix bug #311736 (uninitialized variables resulted in weird snapping ↵Diederik van Lierop1-19/+33
behaviour on windows) (bzr r7039)
2008-11-24Add an option to the preferences to _only_ snap the node closest to the ↵Diederik van Lierop1-1/+1
mouse pointer (bzr r6899)
2008-11-231) Improve the way the distance to the pointer is taken into account when ↵Diederik van Lierop1-5/+5
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)
2008-10-31Merge from trunkTed Gould1-6/+10
(bzr r6887)
2008-09-21- refactor snapping code, removing code duplicationDiederik van Lierop1-5/+11
- fix snapping to page corners (bzr r6863)
2008-08-11Move all of the snapper code to 2geomDiederik van Lierop1-17/+17
(bzr r6606)
2008-05-12Add a centralized check (i.e. in the snapper mechanism) whether we've ↵Diederik van Lierop1-1/+15
snapped or not, instead of leaving it up to the various tools. This should prevent these tools from moving to (0,0) if they bluntly use the value returned by the snapping mechanism without checking whether snapping has really occured. (bzr r5659)
2008-05-04Next steps in implementing the snapping indicatorDiederik van Lierop1-4/+23
(bzr r5600)
2008-04-07Refactor snapper and snapindicator (in order to enable the snapindicator in ↵Diederik van Lierop1-0/+6
the selector tool) (bzr r5374)
2008-01-031) fix snapping while scalingDiederik van Lierop1-4/+15
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)
2007-11-181) Improving snapping logic 2) When skewing, don't snap to selection itselfDiederik van Lierop1-4/+17
(bzr r4111)
2007-11-03Oops, don't use tabs! (replace tabs by 4 spaces)Diederik van Lierop1-1/+1
(bzr r4020)
2007-11-03Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop1-16/+16
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)
2006-01-18optimized includesRalf Stephan1-4/+4
(bzr r16)