scour/scour
Eduard Braun cc592c8e8a Improve and fix behaviour when collapsing straight paths segments (#146)
* Do not collapse straight path segments in paths that have intermediate markers (see #145). The intermediate nodes might be unnecessary for the shape of the path, but their markers would be lost.
* Collapse subpaths of moveto `m` and lineto `l` commands if they have the same direction (before we only collapsed horizontal/vertical `h`/`v` lineto commands)
* Attempt to collapse lineto `l` commands into a preceding moveto `m` command (these are then called "implicit lineto commands")
* Preserve empty path segments if they have `stroke-linecap` set to `round` or `square`. They render no visible line but a tiny dot or square.
2017-05-18 00:53:25 +02:00
..
__init__.py Consistent whitespace across source files according to PEP 8 2016-09-15 00:35:13 +02:00
scour.py Improve and fix behaviour when collapsing straight paths segments (#146) 2017-05-18 00:53:25 +02:00
svg_regex.py Some whitespace fixes to make newer versions of flake8 happy 2016-11-27 18:52:39 +01:00
svg_transform.py Some whitespace fixes to make newer versions of flake8 happy 2016-11-27 18:52:39 +01:00
yocto_css.py Consistent whitespace across source files according to PEP 8 2016-09-15 00:35:13 +02:00