summaryrefslogtreecommitdiffstats
path: root/src/object/sp-marker.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-2/+2
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-01-02modernize loopsMarc Jeanmougin1-5/+5
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-10-06SPAttributeEnum typed function argumentsThomas Holder1-1/+1
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot1-3/+2
This replaces empty constructors and destructors with the default keyword.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-15/+15
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-7/+7
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-7/+7
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-1/+3
A lot of header clean-up.
2017-09-24Remove unused parameter in SPItem::doWriteTransformStefano Facchini1-1/+1
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-1/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+1
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-1/+0
(bzr r15025)
2016-02-23Fix small code buglet; found by Kris with cppcheck.Tavmjong Bah1-1/+2
(bzr r14666)
2015-12-07static code analysisKris De Gussem1-9/+13
(bzr r14508)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-1/+1
(bzr r13922.1.10)
2015-02-25create SPObject factoryLiam P. White1-10/+0
(bzr r13939.1.1)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-3/+3
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-3/+3
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-15C++ify SPMarkerViewTavmjong Bah1-122/+90
(bzr r13799)
2014-11-25Allow marker orientation to have units ('deg', 'rad', 'grad', 'turn').Tavmjong Bah1-5/+8
(bzr r13757)
2014-10-05Rename marker.cpp -> sp-marker.cpp to reflect inclusion in SP-treeLiam P. White1-1/+1
(bzr r13341.1.248)
2014-08-20Implement SVG2 marker 'orient' attribute value 'auto-start-reverse' ↵Tavmjong Bah1-16/+25
(rendering only). (bzr r13341.1.148)
2014-03-04Fix for W3C test suite test filters-light-02-f.svg. Marker refX and refY ↵Tavmjong Bah1-1/+3
defined in coordinate system of viewBox. (bzr r13113)
2014-02-11suppress compiler warningsKris De Gussem1-1/+1
(bzr r13021)
2014-02-06Markers are never shown directly, even if outside of <defs> section.Tavmjong Bah1-3/+7
(bzr r13003)
2014-02-06Added new base class to handle viewBox and preserveAspectRatio.Tavmjong Bah1-234/+23
Updated sp-root, sp-symbol, sp-image, sp-pattern, marker to use new class. Fixed some viewport issues when % used. (bzr r13002)
2014-01-30Correct positioning of custom markers. Fixes #230491.Tavmjong Bah1-2/+4
(bzr r12986)
2013-10-27"fix" some "unused parameter" warningsKris De Gussem1-2/+2
(bzr r12736)
2013-10-26Added some consts.Markus Engel1-1/+1
(bzr r12729)
2013-10-09Documentation/Translation. Fix for Bug #1236382 (Typos in comments and ↵Nicolas Dufour1-1/+1
message, localization context needed) by Yuri Chornoivan. Fixed bugs: - https://launchpad.net/bugs/1236382 (bzr r12673)
2013-09-21Drop unused static function declarationsAlex Valavanis1-43/+0
(bzr r12565)
2013-08-03reduce scope of variablesJohan B. C. Engelen1-4/+2
(bzr r12463)
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 Group and subclasses.Markus Engel1-163/+181
(bzr r11608.1.77)
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-8/+23
(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-20/+20
(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-19Fixing regressionjtx1-6/+6
(bzr r11950.1.61)
2013-03-18Fix -Wcast-align issues with SPItemCtxAlex Valavanis1-1/+1
(bzr r12222)
2013-03-17Working with widjetsJabier Arraiza Cenoz1-6/+6
(bzr r11950.1.56)
2013-03-16fix/suppress build warningsKris De Gussem1-6/+6
(bzr r12215)
2013-03-14Various changes.Markus Engel1-1/+1
(bzr r11608.1.48)
2013-01-24More GObject boilerplate cleanupAlex Valavanis1-52/+24
(bzr r12059)
2012-11-11SPObject: drop sp_object_ prefix on class membersAlex Valavanis1-2/+2
(bzr r11869)