summaryrefslogtreecommitdiffstats
path: root/src/knot-holder-entity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix some memory leaks found by scan-buildMarc Jeanmougin2019-10-051-1/+1
|
* Remove remaining uses of sp_round.Tavmjong Bah2019-09-241-3/+7
|
* HatchKnotHolderEntityScale & some fixesvanntile2019-08-171-1/+10
|
* Added knot holder entitiesvanntile2019-08-171-1/+95
|
* Derive pattern knots off the same subclassNathan Lee2019-07-151-23/+15
|
* Check knot's pattern still exists before updateNathan Lee2019-07-151-1/+21
| | | | | | | Stop crash when pattern changed via swatch palette, and knot is still present. https://gitlab.com/inkscape/inkscape/issues/70
* Clarify licensesMax Gaukler2018-11-081-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
* KnotHolder: fix knots selection status when a knot is clicked without ShiftAntonio Ospite2018-11-011-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.
* Move macros.h and remove unneeded macrosEduard Braun2018-10-011-2/+2
|
* New option to invert y-axisThomas Holder2018-09-121-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
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-2/+2
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Allow FER edition on canvasMarc Jeanmougin2018-04-281-0/+52
|
* Source typosluz.paz2018-03-031-3/+3
| | | Please review
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-7/+9
| | | | A lot of header clean-up.
* Fix the editing of clipping and masking objectsStefano Facchini2017-10-011-3/+3
| | | | | | | | By passing along an edit_transform matrix, as done for clipping paths. Cleanups: - remove some unused methods - use member initialization
* Remove some ocurrences of desktop in knot functionsJabiertxof2016-12-191-0/+4
| | | (bzr r15337)
* Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-2/+0
| | | (bzr r15034)
* Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+2
| | | (bzr r15027)
* Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-2/+1
| | | (bzr r15025)
* renamed SPPattern methods to match coding styleTomasz Boczkowski2015-05-031-9/+9
| | | (bzr r14059.1.20)
* merged SPPattern c++-sification from svgpaints branchTomasz Boczkowski2015-04-251-9/+9
|\ | | | | (bzr r14059.1.2)
| * SPPattern c++-sification: class fields are privateTomasz Boczkowski2014-05-291-4/+4
| | | | | | (bzr r13341.6.23)
| * SPPattern c++-sification: replacing pattern_ functions by methods pt1Tomasz Boczkowski2014-05-271-5/+5
| | | | | | (bzr r13341.6.19)
* | Allow editing of fill and stroke patterns simultaneously. Fixes #601336, ↵Liam P. White2014-08-041-9/+9
| | | | | | | | | | | | | | | | | | | | #604025, #486192 Fixed bugs: - https://launchpad.net/bugs/601336 - https://launchpad.net/bugs/604025 - https://launchpad.net/bugs/486192 (bzr r13489)
* | fixes to LPEKnot, now usable again.Johan B. C. Engelen2014-06-161-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)
* Further refactored SPKnot.Markus Engel2014-03-281-4/+4
| | | (bzr r13226)
* First step of refactoring SPKnot.Markus Engel2014-03-271-4/+5
| | | (bzr r13223)
* const ....Johan B. C. Engelen2013-01-171-8/+8
| | | (bzr r12039)
* Fix "shift disables snapping" for LPEs and for editing objectsDiederik van Lierop2012-10-141-4/+12
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1065931 (bzr r11800)
* Header cleaning for GTK+3 migrationAlex Valavanis2012-06-051-0/+1
| | | (bzr r11460)
* Adding base configurable sizing of controls/handles.Jon A. Cruz2012-05-031-6/+9
| | | (bzr r11316)
* Fixing more broken and split doc comments.Jon A. Cruz2011-10-271-1/+1
| | | (bzr r10697)
* - rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen2011-07-171-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)
* Warning cleanup.Jon A. Cruz2011-06-221-1/+0
| | | (bzr r10339)
* Merge from trunkKrzysztof Kosi??ski2011-04-071-11/+11
|\ | | | | (bzr r9508.1.73)
| * update to latest 2geom !Johan B. C. Engelen2011-02-021-11/+11
| | | | | | (bzr r10025)
* | Merge from trunk (again)Krzysztof Kosi??ski2010-12-151-8/+7
|\| | | | | (bzr r9508.1.72)
| * Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-8/+7
| |\ | | | | | | (bzr r9945.1.1)
| | * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-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)
* | | Merge from trunkKrzysztof Kosi??ski2010-11-251-18/+7
|\| | | | | | | | (bzr r9508.1.70)
| * | Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-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)
| * | - Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop2010-10-291-16/+4
| | | | | | | | | | | | | | | | | | | | | mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
| * | Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop2010-08-111-1/+2
| | | | | | | | | (bzr r9697)
* | | merge from trunkKrzysztof Kosi??ski2010-08-081-2/+2
|\| | | | | | | | (bzr r9508.1.52)
| * | - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-2/+2
| |/ | | | | | | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
* / Wholesale cruft removal part 2Krzysztof Kosi??ski2010-08-041-1/+0
|/ | | (bzr r9508.1.45)
* Revert the inverted coordinate system fix. 3D Boxes and guidesKrzysztof Kosi??ski2010-04-061-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)
* Fix pattern knotholderKrzysztof Kosi??ski2010-04-031-73/+56
| | | (bzr r9281.1.9)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-3/+3
| | | | | specified explicitly) (bzr r9014)
* When dragging a knot along a constraint line, then allow snapping the ↵Diederik van Lierop2009-08-231-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)