summaryrefslogtreecommitdiffstats
path: root/src/seltrans.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-3/+0
|
* Fix for bug #263620 comment 5,Jabier Arraiza2018-10-011-1/+5
| | | | Duplicating LPE path more like clone
* cppcheck: 2 memleaks + copypastaJulien Nabet2018-09-261-0/+2
| | | | | [ui/dialog/styledialog.cpp:926]: (error) Memory leak: textDialogPtr [seltrans.cpp:1458]: (error) Memory leak: bb
* New option to invert y-axisThomas Holder2018-09-121-1/+7
| | | | | | | | | 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-emplace pass.Emmanuel Gil Peyrot2018-06-181-2/+2
| | | | | This reduces the boilerplate required to add a new element to a container.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-8/+8
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-14/+19
| | | | A lot of header clean-up.
* Rename get_group0_keyval to get_latin_keyvalAndrey Mozzhuhin2017-10-051-1/+1
|
* Merge branch 'jali/inkscape-ustring_refactor'Tavmjong Bah2017-09-271-11/+9
|\ | | | | | | Removes usage of GString.
| * Remove usage of GString from seltrans.cppJan Lingscheid2017-09-211-11/+9
| |
* | Remove unused parameter in SPItem::doWriteTransformStefano Facchini2017-09-241-1/+1
|/
* SelTrans: fix inconsistencies with _norm, _grip, and rotation centerAntonio Ospite2017-08-091-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | There are some inconsistencies when displaying the _norm, _grip, and rotation center handles: 1. _norm and rotation center are not displayed on a black background; 2. _grip is never displayed, even though the code updates its position and even changes its shape depending on the operation performed. Fix these issues by using the XOR blending mode and, since the handles are only visible when dragging, set their color to 0xff0000b0 which is the color used by other handles when they are in the SP_KNOT_STATE_DRAGGING state. Moreover to have _grip properly blended when HANDLE_CENTER is moved _norm must be hidden, otherwise the two control point would overlap (both in shape and position) and the XOR blending would produce an unintuitive result. Finally, to effectively hide _norm, move forcing handles visibility _after_ grab() because grab() shows both _norm and _grip by default. Fixed bugs: - https://bugs.launchpad.net/inkscape/+bug/1707250
* Starting selectable knotsJabier Arraiza2017-06-301-2/+2
|
* Fixes bug 1663952Jabiertxof2017-03-061-0/+2
| | | | | | | | | | Title: Selection tool: transformation handles vanish temporarily When happends: When selecting a object and moving it in a distance less than dragtolerance value, the handles of the item disapear. How fix: Internal code deprecate transforms if the transform is empty, so if the transform is empty I force show handles Fixed bugs: - https://launchpad.net/bugs/1663952 (bzr r15569)
* CPPification: almost all sp_object_set_whatever and sp_selection_whatever ↵Marc Jeanmougin2016-10-241-1/+1
| | | | | | | | | | | | global functions are now methods of ObjectSet*, with these additional benefits: - They can now act on any SelectionSet, not just the current selection; - Whenever possible, they don't need a desktop anymore and can run if called from GUI. I hope I did not break too many things in the process. *: So instead of callink sp_selection_move(desktop,x,y), you call myobjectset->move(x,y) (bzr r15189)
* Merged trunkAdrian Boguszewski2016-08-031-7/+1
|\ | | | | (bzr r14954.1.29)
| * Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-7/+1
| | | | | | (bzr r15034)
| * Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+7
| | | | | | (bzr r15027)
| * Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-7/+1
| | | | | | (bzr r15025)
* | Renamed some functions, fixed testsAdrian Boguszewski2016-07-271-1/+1
| | | | | | (bzr r14954.1.28)
* | Added items as a range functionAdrian Boguszewski2016-07-031-12/+13
|\| | | | | (bzr r14954.1.13)
* | Moved next functions, added namespace, renamed range functionsAdrian Boguszewski2016-06-251-7/+7
|/ | | (bzr r14954.1.10)
* Sync 2Geom to commit 5ee51c1c4f2066faa3e2c82021fc92671ad44ba4Krzysztof Kosi??ski2016-02-081-2/+2
| | | (bzr r14639)
* static code analysisKris De Gussem2015-12-071-5/+5
| | | (bzr r14509)
* Refactoring of the code that handles transformations and snapping in the ↵Diederik van Lierop2015-09-131-100/+103
| | | | | 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)
* Fixed comparison function used in sortsMarc Jeanmougin2015-05-021-1/+1
| | | (bzr r14085)
* more cast cleanupMarc Jeanmougin2015-02-271-1/+1
| | | (bzr r13922.1.11)
* corrected the casts (hopefully)Marc Jeanmougin2015-02-271-5/+4
| | | (bzr r13922.1.10)
* Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-13/+13
| | | (bzr r13922.1.5)
* At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-27/+27
| | | | | | | | 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)
* Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White2014-12-211-9/+9
| | | (bzr r13820)
* Purge sp_desktop_controlsLiam P. White2014-12-211-3/+3
| | | (bzr r13819)
* Deprecate and remove sp_desktop_selection in favor of SPDesktop::getSelectionLiam P. White2014-12-211-5/+5
| | | (bzr r13809)
* Units: make it absolutely clear that Document properties unit dropdown is ↵Johan B. C. Engelen2014-11-241-4/+4
| | | | | | | for UI Display Units. Upon document load, calculate the units used for SVG values, if a viewbox is available. If not, default to "px" SVG units. Change all code to use either Display units OR svg units. (bzr r13751)
* i18n. Fixing untranslated strings.Nicolas Dufour2014-10-291-1/+1
| | | (bzr r13640)
* Fix skewing bug that could lead to infinite transformsDiederik van Lierop2014-08-231-3/+10
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1266499 (bzr r13530)
* Limit the number of paths to be used as snap targets, to keep Inkscape ↵Diederik van Lierop2014-07-301-0/+1
| | | | | | | | responsive in very complex drawings Fixed bugs: - https://launchpad.net/bugs/1348959 (bzr r13483)
* Fix regression introduced by rev 13446 / 13333Diederik van Lierop2014-07-111-10/+0
| | | | | | | Fixed bugs: - https://launchpad.net/bugs/1256597 - https://launchpad.net/bugs/1340011 (bzr r13450)
* Fix regression that prevented snapping back to original location, caused by ↵Diederik van Lierop2014-07-051-6/+10
| | | | | | | | rev. 13333 Fixed bugs: - https://launchpad.net/bugs/1337170 (bzr r13446)
* Remove debugging outputDiederik van Lierop2014-05-151-1/+0
| | | (bzr r13379)
* Fix snapping issue in selector toolDiederik van Lierop2014-05-121-25/+39
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1255764 (bzr r13361)
* Fix bounding box cache issues in general, and prevent the selector tool from ↵Diederik van Lierop2014-05-031-28/+43
| | | | | | | | updating anything in case of identity affines (which prevents the bounding box from being invalidated) Fixed bugs: - https://launchpad.net/bugs/1256597 (bzr r13333)
* Further refactored SPKnot.Markus Engel2014-03-281-8/+8
| | | (bzr r13226)
* First step of refactoring SPKnot.Markus Engel2014-03-271-34/+30
| | | (bzr r13223)
* Embedded SVG's cannot be transformed.Tavmjong Bah2014-02-281-0/+6
| | | (bzr r13076)
* modify transform behaviour for unscaled stroke width, Preserved Transforms ↵Alvin Penner2013-12-301-4/+6
| | | | | | | | (Bug 1262146) Fixed bugs: - https://launchpad.net/bugs/1262146 (bzr r12863)
* modify transform behaviour for scaled stroke width, Preserved TransformsAlvin Penner2013-12-171-2/+5
| | | (bzr r12852)
* Moved and renamed some tool-related files.Markus Engel2013-11-091-1/+1
| | | (bzr r12785)
* First step of moving tools into appropriate namespaces.Markus Engel2013-11-071-1/+1
| | | (bzr r12782)
* static code analysis: performanceKris De Gussem2013-10-161-1/+1
| | | (bzr r12695)