summaryrefslogtreecommitdiffstats
path: root/src/object/sp-offset.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-18reduce usage of desktop coordinates (#341)Thomas Holder1-1/+1
- avoid unnecessary internal usage of desktop coordinates, e.g. in SpellCheck::compareTextBboxes - document whether a function argument is in document or desktop coordinates, e.g. for SPDocument::getItemsInBox
2019-06-06Style fixes.Shlomi Fish1-6/+6
Thanks to @Qantas94Heavy 's comments. ---- 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-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-7/+7
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.
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-06SPAttributeEnum typed function argumentsThomas Holder1-1/+1
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-09-11Requested revisions + more typos and grammar fixesluz.paz1-3/+3
2018-09-11Misc. typosluz.paz1-1/+1
Found via `codespell -q 3 -I ../inkscape-whitelist.txt --skip="*.svg,*.po,*.nsh,*.in,./src/3rdparty"`
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-38/+38
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-14Source typosluz.paz1-3/+3
2018-05-14Misc. typosluz.paz1-1/+1
Found via `codespell` and `grep`
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-2/+2
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-2/+2
2018-03-26Base LPE refactorJabier Arraiza1-2/+2
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-0/+0
A lot of header clean-up.
2017-10-12Update POTFILES.in etc. after renamingStefano Facchini1-2/+2
2017-09-24Remove unused parameter in SPItem::doWriteTransformStefano Facchini1-1/+1
2017-02-05Fix C++11 errors and warnings with g++-7Alex Valavanis1-2/+5
Fixed bugs: - https://launchpad.net/bugs/1660992 (bzr r15477)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-6/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+6
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-6/+1
(bzr r15025)
2016-03-24Revert revision #14156 because problems with offsets, see coments addedJabier Arraiza Cenoz1-1/+3
(bzr r14741)
2015-05-16Potential fix for 384688 (A linked offset to a text object is malformed...)Tavmjong Bah1-1/+1
Basically flip a flag to use a slower but more accurate offset method. (bzr r14156)
2015-04-28Fix calls to Geom::cross() - sign change.Krzysztof Kosi??ski1-1/+1
(bzr r14059.2.2)
2015-02-25create SPObject factoryLiam P. White1-10/+0
(bzr r13939.1.1)
2014-07-28Fix placement news and calls to destructor. Fixes crash regressions ↵Liam P. White1-5/+0
#1348891, #1344217, #1333445, and stubborn Windows bug #956225 (possibly more). Fixed bugs: - https://launchpad.net/bugs/1348891 - https://launchpad.net/bugs/1344217 - https://launchpad.net/bugs/1333445 - https://launchpad.net/bugs/956225 (bzr r13474)
2014-06-07Undo changes in r13391Liam P. White1-11/+11
(bzr r13341.1.51)
2014-06-06Clean up some unnecessary pointer usage in livarotLiam P. White1-11/+11
(bzr r13341.1.50)
2013-11-14More scan-build null pointer checksAlex Valavanis1-16/+9
(bzr r12814)
2013-10-26Added some consts.Markus Engel1-3/+3
(bzr r12729)
2013-09-24change names for displayName and detailedDescription, improve char code and ↵Martin Owens1-1/+1
remove const. (bzr r12584)
2013-09-20Refactor status-bar text for multiple items, was very brokenMartin Owens1-7/+9
Fixed bugs: - https://launchpad.net/bugs/1199192 (bzr r12550)
2013-04-07Merge Object and subclasses. Merging of SP- and C-classes complete.Markus Engel1-2/+0
(bzr r11608.1.86)
2013-04-05Merged Item.Markus Engel1-1/+0
(bzr r11608.1.81)
2013-04-05Merged more classes.Markus Engel1-1/+0
(bzr r11608.1.78)
2013-04-05Merged Shape and subclasses. Cleaned up a bit.Markus Engel1-10/+8
(bzr r11608.1.76)
2013-04-04Combined some classes.Markus Engel1-186/+345
(bzr r11608.1.75)
2013-04-02Cleaned up a bit. Uses some C++11 features.Markus Engel1-40/+6
(bzr r11608.1.72)
2013-04-02Registered classes with new factory. Hkern, Vkern and FeFuncX have to be ↵Markus Engel1-0/+10
rewritten, as they aren't real classes. (bzr r11608.1.69)
2013-04-01Added constructors to SP classes.Markus Engel1-7/+13
(bzr r11608.1.67)
2013-03-31Prepared exchange of casting macros.Markus Engel1-0/+1
(bzr r11608.1.63)
2013-03-29Renamed virtual function names.Markus Engel1-16/+16
(bzr r11608.1.57)
2013-03-29Removed function pointers from SPObject and subclasses.Markus Engel1-4/+4
Added some missing virtual pads for classes that were hidden by preprocessor macros. (bzr r11608.1.55)
2013-03-14Various changes.Markus Engel1-1/+1
(bzr r11608.1.48)
2013-01-26More GObject boilerplate reductionAlex Valavanis1-48/+13
(bzr r12064)
2013-01-17const ....Johan B. C. Engelen1-1/+1
(bzr r12039)
2012-10-06Added virtual pad to SPFlowtext; removed old calls to virtual SPItem methods.Markus Engel1-2/+2
(bzr r11608.1.46)
2012-10-04code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton1-1/+1
they are not used elsewhere. (bzr r11735)
2012-09-29Removed old calls to set_shape and update_patheffect.Markus Engel1-1/+1
(bzr r11608.1.45)
2012-08-18Added "virtual pad" to SPOffset.Markus Engel1-44/+96
(bzr r11608.1.7)