summaryrefslogtreecommitdiffstats
path: root/src/knot-holder-entity.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-05Fix some memory leaks found by scan-buildMarc Jeanmougin1-1/+1
2019-09-24Remove remaining uses of sp_round.Tavmjong Bah1-3/+7
2019-08-17HatchKnotHolderEntityScale & some fixesvanntile1-1/+10
2019-08-17Added knot holder entitiesvanntile1-1/+95
2019-07-15Derive pattern knots off the same subclassNathan Lee1-23/+15
2019-07-15Check knot's pattern still exists before updateNathan Lee1-1/+21
Stop crash when pattern changed via swatch palette, and knot is still present. https://gitlab.com/inkscape/inkscape/issues/70
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-11-01KnotHolder: fix knots selection status when a knot is clicked without ShiftAntonio Ospite1-0/+2
When there are already selected knots, and _another_ knot is clicked without the Shift key pressed, the user would expects the previously selected knots to be unselected immediately, but this does not happen until the mouse button is released. Steps to replicate: 1. Change size of a rect using one corner. 2. Change the size using the opposite corner (without pressing Shift). Observed behavior: The first corner looks still selected during grab. Expected behavior: The first corner gets unelected as soon as the mouse button is pressed.. This happens because the knots selection status is not updated until the mouse button is released, i.e. in the click/ungrabbed signal handler. In order to have a more immediate feedback of the knot selection status, add a "mousedown" signal handler and update the selection status in there. While at it also remove the knot_holder local variable in knot_clicked_handler() which seems to be unnecessary.
2018-10-01Move macros.h and remove unneeded macrosEduard Braun1-2/+2
2018-09-12New option to invert y-axisThomas Holder1-63/+27
Replaces all hard coded or implicit desktop coordinate usage with doc2dt multiplication. New global preference: Interface > Origin at upper left https://bugs.launchpad.net/inkscape/+bug/170049
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-2/+2
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-04-28Allow FER edition on canvasMarc Jeanmougin1-0/+52
2018-03-03Source typosluz.paz1-3/+3
Please review
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-7/+9
A lot of header clean-up.
2017-10-01Fix the editing of clipping and masking objectsStefano Facchini1-3/+3
By passing along an edit_transform matrix, as done for clipping paths. Cleanups: - remove some unused methods - use member initialization
2016-12-19Remove some ocurrences of desktop in knot functionsJabiertxof1-0/+4
(bzr r15337)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-2/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+2
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-2/+1
(bzr r15025)
2015-05-03renamed SPPattern methods to match coding styleTomasz Boczkowski1-9/+9
(bzr r14059.1.20)
2014-08-04Allow editing of fill and stroke patterns simultaneously. Fixes #601336, ↵Liam P. White1-9/+9
#604025, #486192 Fixed bugs: - https://launchpad.net/bugs/601336 - https://launchpad.net/bugs/604025 - https://launchpad.net/bugs/486192 (bzr r13489)
2014-06-16fixes to LPEKnot, now usable again.Johan B. C. Engelen1-6/+10
knotholder: if knot coords are non-finite, hide knot. used for hiding the lpeknot switcher knot if there are no crossings Fixed bugs: - https://launchpad.net/bugs/781893 (bzr r13428)
2014-05-29SPPattern c++-sification: class fields are privateTomasz Boczkowski1-4/+4
(bzr r13341.6.23)
2014-05-27SPPattern c++-sification: replacing pattern_ functions by methods pt1Tomasz Boczkowski1-5/+5
(bzr r13341.6.19)
2014-03-28Further refactored SPKnot.Markus Engel1-4/+4
(bzr r13226)
2014-03-27First step of refactoring SPKnot.Markus Engel1-4/+5
(bzr r13223)
2013-01-17const ....Johan B. C. Engelen1-8/+8
(bzr r12039)
2012-10-14Fix "shift disables snapping" for LPEs and for editing objectsDiederik van Lierop1-4/+12
Fixed bugs: - https://launchpad.net/bugs/1065931 (bzr r11800)
2012-06-05Header cleaning for GTK+3 migrationAlex Valavanis1-0/+1
(bzr r11460)
2012-05-03Adding base configurable sizing of controls/handles.Jon A. Cruz1-6/+9
(bzr r11316)
2011-10-27Fixing more broken and split doc comments.Jon A. Cruz1-1/+1
(bzr r10697)
2011-07-17- rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen1-6/+6
item-to-desktop, not item-to-document. This should make it easier to spot bugs. - tag some instances where the document-to-desktop transform has been hardcoded (bzr r10466)
2011-06-22Warning cleanup.Jon A. Cruz1-1/+0
(bzr r10339)
2011-02-02update to latest 2geom !Johan B. C. Engelen1-11/+11
(bzr r10025)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-1/+1
fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
2010-10-29- Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop1-16/+4
mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
2010-08-11Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop1-1/+2
(bzr r9697)
2010-08-04Wholesale cruft removal part 2Krzysztof Kosi??ski1-1/+0
(bzr r9508.1.45)
2010-07-12- Snap while rotating an object using the selector toolDiederik van Lierop1-2/+2
- Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
2010-06-29This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public1-6/+6
sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
2010-04-06Revert the inverted coordinate system fix. 3D Boxes and guidesKrzysztof Kosi??ski1-56/+73
require an XML-level backwards compatibility mechanism to fix properly, and it's too late in the 0.48 cycle to introduce it. (bzr r9298)
2010-04-03Fix pattern knotholderKrzysztof Kosi??ski1-73/+56
(bzr r9281.1.9)
2010-01-23Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop1-3/+3
specified explicitly) (bzr r9014)
2009-08-23When dragging a knot along a constraint line, then allow snapping the ↵Diederik van Lierop1-2/+23
position of the mouse pointer instead of its projection onto the constraint line (for this a check box has been added to the preferences dialog) (bzr r8523)
2009-06-20Remove an unused parameter from the snapping APIDiederik van Lierop1-2/+2
(bzr r8119)
2009-03-15Implement constrained snapping when dragging the position and size handles ↵Diederik van Lierop1-2/+2
of a rectangle in the node tool, with the ctrl-key being pressed. (bzr r7497)
2009-03-13* Implement constrained snapping of knotsDiederik van Lierop1-0/+12
* 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-20The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop1-5/+5
displayed "B". (bzr r7335)
2008-12-28More NR ==> Geom changesJoshua L. Blocher1-10/+10
(bzr r7032)
2008-10-27From trunkTed Gould1-3/+4
(bzr r6885)