summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-bspline.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: call setAttribute() directly.Shlomi Fish2019-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* modernize loopsMarc Jeanmougin2019-01-021-30/+28
|
* 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
* Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | | This replaces empty constructors and destructors with the default keyword.
* 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.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-7/+6
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-6/+7
|
* Base LPE refactorJabier Arraiza2018-03-261-1/+4
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-1/+1
| | | | A lot of header clean-up.
* More fixes to LPEJabiertxof2017-05-271-2/+2
| | | (bzr r15705)
* fix a brunch of memory leakschr2017-05-181-0/+1
| | | (bzr r15698.1.2)
* minor bugfixingJabiertxof2017-04-291-1/+1
| | | (bzr r15620.1.13)
* ResetJabiertxof2017-04-281-16/+0
| | | (bzr r15620.1.9)
* Add end of preferences GUIJabier Arraiza Cenoz2017-04-271-1/+1
| | | (bzr r15620.1.6)
* Allow set and reset default values of LPE parametersJabiertxof2017-04-141-0/+16
| | | (bzr r15620.1.1)
* Improve constant definitionsJabier Arraiza Cenoz2016-01-051-2/+2
| | | (bzr r14561)
* Fix a bug on bspline, duplicating end nodesJabier Arraiza Cenoz2015-11-131-0/+24
| | | (bzr r14462)
* fixes bug:1492711 in bspline and fillet chamferjtx2015-09-111-0/+7
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1492711 (bzr r14356)
* Fix a bug in BSpline on straight lines when press a default width buttonJabier Arraiza Cenoz2015-09-081-1/+1
| | | (bzr r14350)
* fixes bug:1492704 in bsplinejtx2015-09-081-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1492704 (bzr r14347)
* Changed some strings to BSPLine widgetsJabier Arraiza Cenoz2015-09-011-14/+14
| | | (bzr r14339)
* Improvements to BSPline widgets:jtx2015-09-011-19/+25
| | | | | | | Now the "Change Weight" is % based insteas 0-1 interval Removed "Ignore cusp nodes" and substituted by: "Apply on cusp nodes" and "Apply on non cusp nodes" (bzr r14337)
* Simplify a bit BSpline codeJabier Arraiza Cenoz2015-08-221-61/+22
| | | (bzr r14316)
* A bit more refactor of BSPline tool. Still the bug duplicating end node :(Jabier Arraiza Cenoz2015-08-141-1/+1
| | | (bzr r14301)
* Refactor BSPline and Spiro to remove duplicated functionsJabier Arraiza Cenoz2015-08-061-132/+107
| | | (bzr r14280)
* Fixed some typos in bsector and bsplineJabier Arraiza Cenoz2015-08-021-0/+1
| | | | | | In freehand base fix a crash un bend path if no clipboard. Also rewrite retrive clipboard to get it at correct document size (bzr r14272)
* Sync 2Geom to revision 2413.Krzysztof Kosi??ski2015-07-041-6/+6
|\ | | | | | | | | May introduce regressions. (bzr r14226)
| * 2Geom sync - initial commitKrzysztof Kosi??ski2015-04-271-6/+6
| | | | | | (bzr r14059.2.1)
* | Improve hidding helper path when show outline toogle is onjtx2015-06-261-3/+6
|/ | | (bzr r14220)
* Fix coding style issues in bspline/spirolive codeJabier Arraiza Cenoz2015-04-101-160/+160
| | | (bzr r14054)
* Add helper path to guide BSpline if path outline is hiddenJabier Arraiza Cenoz2015-04-031-2/+4
| | | (bzr r14042)
* Cleanup headers in BSpline LPEJabier Arraiza Cenoz2015-03-211-38/+6
| | | (bzr r14025)
* Removed auto size helper paths because strange resultJabier Arraiza Cenoz2015-03-091-32/+17
| | | (bzr r13981)
* Update simplify and bspline to auto size some helper paths based on current zoomJabier Arraiza Cenoz2015-03-081-3/+17
| | | (bzr r13974)
* Fixed a bad castingJabier Arraiza Cenoz2015-03-021-5/+7
| | | (bzr r13960)
* Update to trunk r13750Liam P. White2014-11-241-17/+4
|\ | | | | (bzr r13341.5.23)
| * fix a bug in bspline on apply on non shapesJabier Arraiza Cenoz2014-11-171-17/+4
| | | | | | (bzr r13726)
* | Update to trunk r13690Liam P. White2014-11-091-134/+22
|\| | | | | (bzr r13341.5.22)
| * Refactor to remove references to Desktop/Ui in Effect, bspline and ↵Jabier Arraiza Cenoz2014-11-051-132/+19
| | | | | | | | | | | | | | | | fillet-chamfer. Also fixed the selected node problem in units not px. Also fixed two var to not allow NULL pointed by Johan Engelen. (bzr r13672)
| * i18n. Fix for bug #1389509 (typos in trunk-r13669).Masato Hashimoto2014-11-051-1/+1
| | | | | | (bzr r13670)
| * Update wrong variable name and apply the same way to select nodes to ↵Jabier Arraiza Cenoz2014-11-031-11/+12
| | | | | | | | | | fillet/chamfer and BSpline, still the boring bug -ignore apply only to selected nodes- when document not in 'px' (bzr r13668)
| * Change calls to desktop with SP_ACTIVE_DESKTOPJabier Arraiza Cenoz2014-11-021-5/+4
| | | | | | (bzr r13656)
| * Warning cleanup.Jon A. Cruz2014-11-011-1/+1
| | | | | | (bzr r13653)
* | Update to experimental r13619Liam P. White2014-10-181-40/+86
|\| | | | | (bzr r13341.5.18)
| * Update to bspline branch, now helper path fixed and optionalroot2014-10-161-40/+86
| | | | | | (bzr r13341.1.275)
* | Update to experimental r13598Liam P. White2014-10-081-0/+40
|\| | | | | (bzr r13341.5.17)
| * add support for document-units in the helper path of bsplineJabier Arraiza Cenoz2014-09-291-2/+9
| | | | | | (bzr r13341.1.234)
| * Add helper paths to BSPlineJabier Arraiza Cenoz2014-09-291-0/+33
| | | | | | (bzr r13341.1.226)
| * remove magic numbers from bsplineJabier Arraiza Cenoz2014-09-231-19/+23
| | | | | | (bzr r13341.1.219)
| * Fix for strange gap at shift to cusp in bsplineJabier Arraiza Cenoz2014-09-221-259/+101
| | | | | | | | | | | | | | | | Now curves with cusp noden in bspline mode looks better, more smooth. Remove some duplicate code from outside for loops Fix a bug continuing shapes in bspline-spiro mode. Style code formating (bzr r13341.1.215)