summaryrefslogtreecommitdiffstats
path: root/src/object/sp-guide.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: call setAttribute() directly.Shlomi Fish2019-06-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Allow guide duplication in guides dialogMarc Jeanmougin2019-03-221-0/+4
|
* Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot2019-03-061-4/+4
| | | | This makes the code a lot less readable and greppable for no reason.
* Fix #91 "guides around the page" with y-axis downThomas Holder2019-02-181-6/+7
|
* 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
* SPAttributeEnum typed function argumentsThomas Holder2018-10-061-1/+1
|
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* !SP_ACTIVE_DESKTOP -> is_yaxisdown trueThomas Holder2018-09-231-5/+5
| | | | Fixes 3D box --export-png
* New option to invert y-axisThomas Holder2018-09-121-1/+30
| | | | | | | | | 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-4/+4
| | | | | This reduces the boilerplate required to add a new element to a container.
* Run clang-tidy’s modernize-use-bool-literals pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | | This makes it clearer whether an integer or a boolean has to be passed in this specific call.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-7/+7
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Guides created after "lock all guides" selected should be lockedGeoff Lankow2018-05-041-0/+3
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-0/+545
A lot of header clean-up.