summaryrefslogtreecommitdiffstats
path: root/src/gradient-chemistry.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-28refactor: TypedSPIThomas Holder1-1/+1
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-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.
2019-05-26Fix gradient toolbar comboboxes and reverseNathan Lee1-6/+5
https://gitlab.com/inkscape/inkscape/issues/224
2019-04-06More document.h cleanup.Tavmjong Bah1-1/+1
2019-01-02modernize loopsMarc Jeanmougin1-2/+2
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-22Remove 'document-private.h' where not needed plus some other header cleanup.Tavmjong Bah1-1/+0
2018-06-21Move global functions into SPGradient methods.Emmanuel Gil Peyrot1-1/+1
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-30/+30
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-3/+3
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-3/+3
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-16/+18
A lot of header clean-up.
2017-10-01First batchMarc Jeanmougin1-17/+10
2016-11-17Do not return invalid vector gradient when switching from mesh to ↵Tavmjong Bah1-1/+1
linear/radial gradient. (bzr r15254)
2016-10-14Implement copying of objects with mesh gradients.Tavmjong Bah1-57/+83
(bzr r15171)
2016-10-03Prevent a crash if a mesh is defined in bounding box coordinates.Tavmjong Bah1-0/+5
(bzr r15144)
2016-09-27Rename <mesh> to <meshgradient> per SVG 2 CR specificiation.Tavmjong Bah1-11/+11
Note: <mesh> has been repurposed to be a special shape that tightly wraps a mesh gradient. (bzr r15137)
2016-09-26Fix undo/redo for mesh gradients.Tavmjong Bah1-3/+9
(bzr r15135)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-4/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+4
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-4/+0
(bzr r15025)
2016-07-14Renamed children list in SPObjectAdrian Boguszewski1-3/+3
(bzr r14954.1.21)
2016-07-13Second part of new SPObject children listAdrian Boguszewski1-10/+10
(bzr r14954.1.19)
2016-06-25Moved next functions, added namespace, renamed range functionsAdrian Boguszewski1-2/+2
(bzr r14954.1.10)
2016-05-21Fix regression: restore order in resources (e.g. pattern list)Marc Jeanmougin1-2/+2
(bzr r14907)
2016-02-08Sync 2Geom to commit 5ee51c1c4f2066faa3e2c82021fc92671ad44ba4Krzysztof Kosi??ski1-1/+1
(bzr r14639)
2015-12-07cppification : GHashMaps replaced by stl maps. getResouceList now gives a ↵Marc Jeanmougin1-3/+3
std::set<SPObject *>. Should give some performance improvements (quite a few linear lookups are now logarithmic) (bzr r14504.1.6)
2015-12-06cppification: GSList replaced by vectors (mostly related to gradients and ↵Marc Jeanmougin1-1/+1
meshes) (bzr r14504.1.2)
2015-11-13static code analysisKris De Gussem1-2/+2
(bzr r14463)
2015-04-272Geom sync - initial commitKrzysztof Kosi??ski1-3/+3
(bzr r14059.2.1)
2015-03-01Rename <meshGradient> to <mesh>, <meshRow> to <meshrow>, <meshPatch> to ↵Tavmjong Bah1-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)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-5/+5
(bzr r13922.1.10)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-4/+4
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-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)
2014-12-25Remove sp_style_new().Tavmjong Bah1-2/+1
(bzr r13822.1.6)
2014-12-21Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White1-3/+3
(bzr r13820)
2014-12-21Deprecate and remove sp_desktop_selection in favor of SPDesktop::getSelectionLiam P. White1-2/+2
(bzr r13809)
2014-07-23Fix crash bug with cloned item with gradient. The fix does not solve the ↵Johan B. C. Engelen1-0/+12
root cause, it only fixes the symptom. Fixed bugs: - https://launchpad.net/bugs/453067 (bzr r13465)
2013-11-09Moved and renamed some tool-related files.Markus Engel1-1/+1
(bzr r12785)
2013-11-07First step of moving tools into appropriate namespaces.Markus Engel1-1/+1
(bzr r12782)
2013-08-03Cleaned up.Markus Engel1-6/+6
(bzr r11608.1.117)
2013-07-30Further refactoring of EventContexts.Markus Engel1-1/+1
(bzr r11608.1.109)
2013-03-25Workaround usage of deprecated glib symbols in 3rd party librariesAlex Valavanis1-1/+2
Fixed bugs: - https://launchpad.net/bugs/1122774 (bzr r12243)
2012-11-28Fix for 1071421 : Setting swatch as fill/stroke creates new swatches which ↵John Smith1-0/+18
never go away (bzr r11911)
2012-10-04code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton1-3/+4
they are not used elsewhere. (bzr r11735)
2012-09-23Fix for 367548 : Invert doesnt work on objects with gradientsJohn Smith1-8/+54
(bzr r11696)
2012-09-22Fix for 367548 : Invert doesnt work on objects with gradientsJohn Smith1-0/+37
(bzr r11694)
2012-09-19Fix for 509891 : User defined linear gradient angleJohn Smith1-4/+42
(bzr r11678)
2012-05-25mesh gradient: fix bad indexingJohan B. C. Engelen1-0/+3
(bzr r11417)
2012-05-25gradient mesh: add NULL checks to fix crash?Johan B. C. Engelen1-5/+13
(bzr r11416)