summaryrefslogtreecommitdiffstats
path: root/src/style.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: call setAttribute() directly.Shlomi Fish2019-06-061-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.
* Fixing coding styleJabier Arraiza2019-06-021-5/+6
|
* Add visualization of style dialogJabier Arraiza2019-06-021-8/+36
|
* fix #175 crash with mask in <style>Thomas Holder2019-04-241-2/+6
|
* More document.h cleanup.Tavmjong Bah2019-04-061-4/+5
|
* Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot2019-03-061-1/+1
| | | | This makes the code a lot less readable and greppable for no reason.
* Merge from masterJabier Arraiza2019-02-201-5/+2
|
* Fix missing properties method, pass properties structureMartin Owens2019-02-201-1/+6
|
* modernize loopsMarc Jeanmougin2019-01-021-8/+8
|
* sp_attribute_lookup with std::mapThomas Holder2018-12-241-12/+3
| | | | | - replace linear array search with std::map lookup - remove duplicated name lookup logic in SPStylePropHelper
* Fix create first selectorJabier Arraiza2018-12-221-3/+7
|
* Finish implementation of 'text-decoration-fill' and 'text-decoration-stroke'.Tavmjong Bah2018-12-121-0/+4
|
* Fix crash when SVG contains a font-face rule. Introduced by commit ↵Tavmjong Bah2018-12-051-0/+1
| | | | db722f5b79ef1517f0b6e9a96968ad257dffc6f9
* Add capability to get style rulesets as SPStyle objectsMartin Owens2018-11-131-0/+11
|
* Explicitly stop inheritance of 'stop-color' per SVG spec.Tavmjong Bah2018-11-121-3/+3
|
* 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
* Implement the remaining vector effects properties.Tavmjong Bah2018-11-081-1/+1
|
* remove Inkscape::URI::toStringThomas Holder2018-11-051-3/+2
|
* SPAttributeEnum typed function argumentsThomas Holder2018-10-061-5/+5
|
* Add new style register style property for stop color and opacityMartin Owens2018-10-051-0/+3
|
* Removal of code but breaks gradientsMartin Owens2018-10-051-3/+7
|
* fix 1795942 "object to path" uses outdated stateThomas Holder2018-10-051-0/+10
|
* Remove old unset code which isn't used any moreMartin Owens2018-10-041-161/+8
|
* fix compiling on macOSThomas Holder2018-10-041-1/+1
|
* SPStyle property lookup helper classThomas Holder2018-10-041-519/+197
|
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-143/+143
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Add GUI support for 'font-variant-east-asian' property.Tavmjong Bah2018-06-071-2/+2
|
* Misc. typosluz.paz2018-05-141-1/+1
| | | Found via `codespell` and `grep`
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-1/+1
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-1/+1
|
* moved libcroco, libuemf, libdepixelize to 3rdparty folderMarc Jeanmougin2018-04-291-1/+1
|
* Fix promote dJabier Arraiza2018-04-231-2/+13
|
* Revert TAV d work for testingJabier Arraiza2018-04-231-13/+2
|
* Add the path 'd' property to the blacklist for default style.Tavmjong Bah2018-03-271-0/+1
|
* Promote the path 'd' attribute to a property per SVG 2. Try 2.Tavmjong Bah2018-03-071-2/+13
| | | | See e88644b0 for first attempt and for comments.
* Revert "Promote the path 'd' attribute to a property per SVG 2."Tavmjong Bah2018-02-181-10/+0
| | | | | | Needs further testing. This reverts commit e88644b0f3481c78a9563dbf9ee6b76ab6674583.
* Promote the path 'd' attribute to a property per SVG 2.Tavmjong Bah2018-02-131-0/+10
| | | | | | | | | This allows 'd' to be animated via CSS animations. Due to the interactions of 'd' with LPE's, 'd' as a property is converted to 'd' as an attribute in SPPath::update. This changes the XML which causes update() to be called again (and triggers a warning). Fixing this is left to a future patch as is converting the 'd' back to a property on output.
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-10/+14
| | | | A lot of header clean-up.
* Misc. typosluz.paz2018-01-081-1/+1
| | | Found via `codespell`
* Misc. typosUnknown2017-11-071-2/+2
| | | | | | | | | | | | Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
* Update properties for SVG 2 text. Partial work from Alex RomanTavmjong Bah2017-10-161-3/+29
|
* Implement !important rule handling for inline-style. Work from Jabier.Tavmjong Bah2017-10-131-1/+8
| | | | Added "!important" rule tests to style-test.cpp.
* Add GUI and code to implement "Line Spacing Modes".Tavmjong Bah2017-08-051-8/+12
| | | | | Selecting a Line Spacing Mode allows a user to quickly pick an algorithm for consistant line spacing.
* Do not scale font-size when set to a relative unitEduard Braun2017-08-021-1/+1
| | | | | | | | | | | Relative units already respect the transform of parents and don't have to be recalculated when set to relative unit from inside the UI It's actually not possible to set relative font-sizes anywhere in the UI except when setting sub/superscripts (sets font-size to 65%) Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1658029
* rename SPIVariableFontAxisOrNormal => SPIFontVariationSettings and implement ↵Felipe Corrêa da Silva Sanches2017-06-231-1/+1
| | | | full parsing of multiple axes and respective design-space coordiantes.
* parsing font-variation-settings (CSS Fonts Module Level 4)Felipe Corrêa da Silva Sanches2017-06-221-0/+10
|
* Fix styling breakage from r15471.Tavmjong Bah2017-02-051-2/+2
| | | (bzr r15478)
* Fix C++11 errors and warnings with g++-7Alex Valavanis2017-02-051-3/+5
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1660992 (bzr r15477)
* Merge in GSoC style dialog. (Work in progress.)Tavmjong Bah2017-02-041-80/+80
|\ | | | | (bzr r15471)