Commit Graph

26 Commits (9c2e403036bc4e804c15cf258b41440837eaa76b)

Author SHA1 Message Date
Andrew Port 110acc9e00 version -> 1.4.1 2020-11-14 23:42:36 -08:00
Andrew Port 7a183c4e3c aesthetic changes 2020-11-14 23:37:09 -08:00
Andrew Port 9fa559a070 change setup to use md readme and remove rst readme 2020-11-14 23:31:53 -08:00
Andrew Port 1b4ed34ac9 fix messed up setup 2020-11-14 23:30:19 -08:00
Andrew Port 772d6698bf add markdown readme 2020-11-14 23:29:16 -08:00
Andy Port 4342501591 prep for PyPI update 2020-08-04 18:22:15 -07:00
Andy Port 3d1a225503 removed future dependencies 2018-08-21 19:39:25 -07:00
Michael X. Grey 360d6b224c Flattening SVG groups and handling transforms (#55)
* Some progress (and added CONTRIBUTING.md)

* fixed documentation line-width to be PEP 8 compliant

* fixed documentation line-width to be PEP 8 compliant

* style changes

* made some design changes

* Make the Document class available when importing the library

* Add a method to parse transform strings

* Iterate on the implementation of the Document class

* Tweaks to transform parsing implementation

* Implementing a depth-first flattening of groups

* Finish implementation of flatten_paths

* Beginning to write tests for groups

* Refactoring flatten_paths() into flatten_all_paths()

* Clean up implementation of document classes

* Debugging xml namespace behavior -- needs improvement

* Improve the way the svg namespace is handled

* Print out some paths to see that they're sane

* Fix multiplication of numpy matrices -- need to use .dot() instead of operator*

* Create a unit test for parsing SVG groups

* Return a reference to an element instead of a copied dictionary of attributes

* Add a test for <path> elements that contain a 'transform' attribute

* minor docstring improvements

* got rid of svg2path changes (reverted to master)

* updated to match master

* Remove accidental paranthesis

* Remove unnecessary import

* Use a default width and height of 0, as dictated by SVG specs, in case width or height is missing

* Expose the CONVERSIONS and CONVERT_ONLY_PATHS constants

* Fix the use of some numpy operations

* Remove untested functions

* Fix add_group() and write tests for adding groups and paths

* Update documentation of document module

* Add tests for parsing transforms

* Update the module name for svg_to_paths

* Improve Python3 compatibility

* Try to improve compatibility

* More tweaks for compatibility
2018-08-21 18:00:29 -07:00
Andy be946b8d92 removed 2018-07-24 14:35:39 -07:00
Andy 8d5023939e updated for new PyPI release 2018-07-06 23:04:23 -04:00
Andy b54bf778b4 changed version number in preparation for PyPI update 2017-11-27 15:27:25 -08:00
Andy Port 1f074d5adc
changed setup to auto-install svgwrite + numpy 2017-11-27 15:17:29 -08:00
Andy 9423f5fdc3 fixed svg2path parsing of svg-polygon elements with redundant closure points 2017-03-16 01:58:48 -07:00
Andy b019e30efd rebuild for 1.3.1 release
note: 1.3 was never published (contained builtins imports)
2017-02-28 23:41:38 -08:00
Andy 8815ddcd52 futurized for Python 3 compatibility
and some other minor changes of no effect
2017-02-28 23:04:37 -08:00
Andy 46e141ad0a update version number 2017-02-20 23:02:09 -08:00
Andy 08e8dc71ff improve distribution to PyPI
Now svg files, readme, unit tests, and license included in PyPI dis
2016-10-29 00:35:51 -07:00
Andy a42484f6ac Update version/tag for PyPI 2016-10-28 20:53:47 -07:00
Andy 6be04c6750 Fix python 3 incompatibility with Path.intersect() method 2016-10-16 00:20:52 -07:00
Andy 4710ee93e4 change version number 1.2.1 -> 1.2.2 2016-10-15 22:36:13 -07:00
Andy cd925078f7 added classifiers 2016-10-05 16:53:28 -07:00
Andy d56422d9f7 added keywords to setup.py 2016-07-23 17:29:22 -07:00
Andy 8734cbafb2 changed version number 2016-07-23 17:18:08 -07:00
Andy 15d186ff33 add ability to preserve svg-attributes
Added svg_attributes attribute to wsvg and disvg.
Added return_svg_attributes option to svg2paths.
Added convenience function svg2paths2().
2016-07-15 22:10:59 -07:00
Andy 46dffa3aa5 Fix setup.py 2016-07-05 23:02:28 -07:00
Andy 9b3d6fe5e3 initial commit 2016-07-05 21:51:11 -07:00