summaryrefslogtreecommitdiffstats
path: root/src/gradient-chemistry.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: TypedSPIThomas Holder2019-10-281-1/+1
|
* Refactoring: call setAttribute() directly.Shlomi Fish2019-06-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call this->setAttribute(...) directly instead of this->getRepr()->setAttribute(...). This avoids clutter and mental indirection. See http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 and https://en.wikipedia.org/wiki/Law_of_Demeter . --- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
* Fix gradient toolbar comboboxes and reverseNathan Lee2019-05-261-6/+5
| | | | https://gitlab.com/inkscape/inkscape/issues/224
* More document.h cleanup.Tavmjong Bah2019-04-061-1/+1
|
* modernize loopsMarc Jeanmougin2019-01-021-2/+2
|
* 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
* Remove 'document-private.h' where not needed plus some other header cleanup.Tavmjong Bah2018-10-221-1/+0
|
* Move global functions into SPGradient methods.Emmanuel Gil Peyrot2018-06-211-1/+1
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-30/+30
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-3/+3
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-3/+3
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-16/+18
| | | | A lot of header clean-up.
* First batchMarc Jeanmougin2017-10-011-17/+10
|
* Do not return invalid vector gradient when switching from mesh to ↵Tavmjong Bah2016-11-171-1/+1
| | | | | linear/radial gradient. (bzr r15254)
* Implement copying of objects with mesh gradients.Tavmjong Bah2016-10-141-57/+83
| | | (bzr r15171)
* Prevent a crash if a mesh is defined in bounding box coordinates.Tavmjong Bah2016-10-031-0/+5
| | | (bzr r15144)
* Rename <mesh> to <meshgradient> per SVG 2 CR specificiation.Tavmjong Bah2016-09-271-11/+11
| | | | | Note: <mesh> has been repurposed to be a special shape that tightly wraps a mesh gradient. (bzr r15137)
* Fix undo/redo for mesh gradients.Tavmjong Bah2016-09-261-3/+9
| | | (bzr r15135)
* Merged trunkAdrian Boguszewski2016-08-031-4/+0
|\ | | | | (bzr r14954.1.29)
| * Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-4/+0
| | | | | | (bzr r15034)
| * Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+4
| | | | | | (bzr r15027)
| * Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-4/+0
| | | | | | (bzr r15025)
* | Renamed children list in SPObjectAdrian Boguszewski2016-07-141-3/+3
| | | | | | (bzr r14954.1.21)
* | Second part of new SPObject children listAdrian Boguszewski2016-07-131-10/+10
| | | | | | (bzr r14954.1.19)
* | Added items as a range functionAdrian Boguszewski2016-07-031-4/+4
|\| | | | | (bzr r14954.1.13)
* | Moved next functions, added namespace, renamed range functionsAdrian Boguszewski2016-06-251-2/+2
|/ | | (bzr r14954.1.10)
* Fix regression: restore order in resources (e.g. pattern list)Marc Jeanmougin2016-05-211-2/+2
| | | (bzr r14907)
* Sync 2Geom to commit 5ee51c1c4f2066faa3e2c82021fc92671ad44ba4Krzysztof Kosi??ski2016-02-081-1/+1
| | | (bzr r14639)
* cppification : GHashMaps replaced by stl maps. getResouceList now gives a ↵Marc Jeanmougin2015-12-071-3/+3
| | | | | | | std::set<SPObject *>. Should give some performance improvements (quite a few linear lookups are now logarithmic) (bzr r14504.1.6)
* cppification: GSList replaced by vectors (mostly related to gradients and ↵Marc Jeanmougin2015-12-061-1/+1
| | | | | meshes) (bzr r14504.1.2)
* static code analysisKris De Gussem2015-11-131-2/+2
| | | (bzr r14463)
* Merge from trunkKrzysztof Kosi??ski2015-05-081-5/+7
|\ | | | | (bzr r14059.2.11)
| * mergingMarc Jeanmougin2015-04-261-11/+11
| |\ | | | | | | (bzr r13922.1.13)
| * | corrected the casts (hopefully)Marc Jeanmougin2015-02-271-5/+5
| | | | | | | | | (bzr r13922.1.10)
| * | Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-4/+4
| | | | | | | | | (bzr r13922.1.5)
| * | At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | 2Geom sync - initial commitKrzysztof Kosi??ski2015-04-271-3/+3
| |/ |/| | | (bzr r14059.2.1)
* | Rename <meshGradient> to <mesh>, <meshRow> to <meshrow>, <meshPatch> to ↵Tavmjong Bah2015-03-011-11/+11
|/ | | | | | | | <meshpatch>. Remove experimental smoothing types. Add new smoothing 'type' attribute with bicubic smoothing option. Per SVG WG decission at Sydney 2015 face-to-face meeting. (bzr r13956)
* Remove sp_style_new().Tavmjong Bah2014-12-251-2/+1
| | | (bzr r13822.1.6)
* Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White2014-12-211-3/+3
| | | (bzr r13820)
* Deprecate and remove sp_desktop_selection in favor of SPDesktop::getSelectionLiam P. White2014-12-211-2/+2
| | | (bzr r13809)
* Fix crash bug with cloned item with gradient. The fix does not solve the ↵Johan B. C. Engelen2014-07-231-0/+12
| | | | | | | | root cause, it only fixes the symptom. Fixed bugs: - https://launchpad.net/bugs/453067 (bzr r13465)
* 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)
* Cleaned up.Markus Engel2013-08-031-6/+6
| | | (bzr r11608.1.117)
* Further refactoring of EventContexts.Markus Engel2013-07-301-1/+1
| | | (bzr r11608.1.109)
* Workaround usage of deprecated glib symbols in 3rd party librariesAlex Valavanis2013-03-251-1/+2
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1122774 (bzr r12243)
* Fix for 1071421 : Setting swatch as fill/stroke creates new swatches which ↵John Smith2012-11-281-0/+18
| | | | | never go away (bzr r11911)
* code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton2012-10-041-3/+4
| | | | | they are not used elsewhere. (bzr r11735)
* Fix for 367548 : Invert doesnt work on objects with gradientsJohn Smith2012-09-231-8/+54
| | | (bzr r11696)