summaryrefslogtreecommitdiffstats
path: root/src/seltrans.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-16Inkscape::XML::Node::addChildAtPosThomas Holder1-5/+1
2019-05-30fix global-buffer-overflow (AddressSanitizer)Thomas Holder1-2/+2
2019-05-20Change the data type of size/width/height of the controls to unsigned intDiederik van Lierop1-4/+4
2019-03-05Fix inverted direction with on canvas align handlesMartin Owens1-4/+8
2019-02-25Seperate out center alignment and add sepcific tool text for itMartin Owens1-0/+4
2019-02-25Add option for on canvas align handles and move group selection checkboxMartin Owens1-1/+4
2019-02-24Merge in bazaar branch for alignment handlesMartin Owens1-1/+41
2019-01-02modernize loopsMarc Jeanmougin1-26/+26
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-10-01Remove #include "config.h" wherever possibleEduard Braun1-3/+0
2018-10-01Fix for bug #263620 comment 5,Jabier Arraiza1-1/+5
Duplicating LPE path more like clone
2018-09-26cppcheck: 2 memleaks + copypastaJulien Nabet1-0/+2
[ui/dialog/styledialog.cpp:926]: (error) Memory leak: textDialogPtr [seltrans.cpp:1458]: (error) Memory leak: bb
2018-09-12New option to invert y-axisThomas Holder1-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
2018-06-18Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot1-2/+2
This reduces the boilerplate required to add a new element to a container.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-8/+8
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-14/+19
A lot of header clean-up.
2017-10-05Rename get_group0_keyval to get_latin_keyvalAndrey Mozzhuhin1-1/+1
2017-09-24Remove unused parameter in SPItem::doWriteTransformStefano Facchini1-1/+1
2017-09-21Remove usage of GString from seltrans.cppJan Lingscheid1-11/+9
2017-08-09SelTrans: fix inconsistencies with _norm, _grip, and rotation centerAntonio Ospite1-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
2017-06-30Starting selectable knotsJabier Arraiza1-2/+2
2017-03-06Fixes bug 1663952Jabiertxof1-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)
2016-10-24CPPification: almost all sp_object_set_whatever and sp_selection_whatever ↵Marc Jeanmougin1-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)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-7/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+7
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-7/+1
(bzr r15025)
2016-07-27Renamed some functions, fixed testsAdrian Boguszewski1-1/+1
(bzr r14954.1.28)
2016-06-25Moved next functions, added namespace, renamed range functionsAdrian Boguszewski1-7/+7
(bzr r14954.1.10)
2016-02-08Sync 2Geom to commit 5ee51c1c4f2066faa3e2c82021fc92671ad44ba4Krzysztof Kosi??ski1-2/+2
(bzr r14639)
2015-12-07static code analysisKris De Gussem1-5/+5
(bzr r14509)
2015-09-13Refactoring of the code that handles transformations and snapping in the ↵Diederik van Lierop1-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)
2015-05-02Fixed comparison function used in sortsMarc Jeanmougin1-1/+1
(bzr r14085)
2015-02-27more cast cleanupMarc Jeanmougin1-1/+1
(bzr r13922.1.11)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-5/+4
(bzr r13922.1.10)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-13/+13
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-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)
2014-12-21Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White1-9/+9
(bzr r13820)
2014-12-21Purge sp_desktop_controlsLiam P. White1-3/+3
(bzr r13819)
2014-12-21Deprecate and remove sp_desktop_selection in favor of SPDesktop::getSelectionLiam P. White1-5/+5
(bzr r13809)
2014-11-24Units: make it absolutely clear that Document properties unit dropdown is ↵Johan B. C. Engelen1-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)
2014-10-29i18n. Fixing untranslated strings.Nicolas Dufour1-1/+1
(bzr r13640)
2014-08-23Fix skewing bug that could lead to infinite transformsDiederik van Lierop1-3/+10
Fixed bugs: - https://launchpad.net/bugs/1266499 (bzr r13530)
2014-07-30Limit the number of paths to be used as snap targets, to keep Inkscape ↵Diederik van Lierop1-0/+1
responsive in very complex drawings Fixed bugs: - https://launchpad.net/bugs/1348959 (bzr r13483)
2014-07-11Fix regression introduced by rev 13446 / 13333Diederik van Lierop1-10/+0
Fixed bugs: - https://launchpad.net/bugs/1256597 - https://launchpad.net/bugs/1340011 (bzr r13450)
2014-07-05Fix regression that prevented snapping back to original location, caused by ↵Diederik van Lierop1-6/+10
rev. 13333 Fixed bugs: - https://launchpad.net/bugs/1337170 (bzr r13446)
2014-05-15Remove debugging outputDiederik van Lierop1-1/+0
(bzr r13379)
2014-05-12Fix snapping issue in selector toolDiederik van Lierop1-25/+39
Fixed bugs: - https://launchpad.net/bugs/1255764 (bzr r13361)
2014-05-03Fix bounding box cache issues in general, and prevent the selector tool from ↵Diederik van Lierop1-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)
2014-03-28Further refactored SPKnot.Markus Engel1-8/+8
(bzr r13226)
2014-03-27First step of refactoring SPKnot.Markus Engel1-34/+30
(bzr r13223)