Commit Graph

80 Commits (issue16)

Author SHA1 Message Date
Andy Port 209623bfb7
Update path.py 2018-04-13 12:41:43 -07:00
Andy Port b58bf0f407 Merge pull request #23 from alphanoob1337/master
Issue 16 fix
2017-09-15 00:31:31 -04:00
Andy Port e03d519ca0 Merge branch 'issue16' into master 2017-09-15 00:20:10 -04:00
alphanoob1337 87a54de2a3 Another try... 2017-07-12 19:04:31 +02:00
alphanoob1337 a4b0c7e229 Changed other files back to mathandys master release. 2017-07-12 19:00:38 +02:00
alphanoob1337 fd3c0091b8 Updated according to mathandys newest version 2017-07-12 18:54:50 +02:00
alphanoob1337 ddc3e6c7b1 Made fork of svg2paths.py up to date. 2017-05-17 17:46:25 +02:00
alphanoob1337 ecdade1be3 PEP8 and fix in unittest 2017-05-17 12:26:38 +02:00
Andy e8367d463a added svg (planning to make unittest in future)
TODO: create unittest for rect element support
2017-04-26 02:21:43 -07:00
Andy 38eeac858c fixed support for rectangles when no x,y attributes are specified
defaults to 0,0
2017-04-26 02:21:01 -07:00
Andy d670547149 added polygon() and polyline() to __init__ 2017-04-26 02:20:11 -07:00
Andy a094f92b3a added polyline and polygon functions (points --> Path of Line objects) 2017-04-26 01:54:44 -07:00
Andy a3a529899c added rect element support to svg2paths 2017-04-26 01:53:34 -07:00
alphanoob1337 77cab1e819 Limited line length to 79 characters. Also updated to current version of master branch in svgpathtools. 2017-04-24 20:30:10 +02:00
Andy 1d1bec1877 add ellipse/circle option to svg2paths2 and change return_svg_attributes to be second argument. 2017-04-23 01:14:59 -07:00
Andy aa02116e87 prettify svg2paths docstring (Google style) 2017-04-23 01:12:12 -07:00
Andy 900d5ba93b fixed typo and long line in docstrings 2017-04-23 00:45:41 -07:00
Andy Port 9a1b1ff1e5 Merge pull request #21 from jpcofr/ellipse_d_squashed
Added functionality to extract circle and ellipse elements from SVG files.  Circles and ellipses are treated as paths of two `Arc` objects.
2017-04-23 00:33:06 -07:00
Juan Pablo Contreras Franco cf91c95724 Merge 2017-04-23 07:53:10 +02:00
Juan Pablo Contreras Franco 216965e6ab Corrected wrongly deleted docstring line 2017-04-23 07:50:43 +02:00
Juan Pablo Contreras Franco 7b4bd38b21 Small syntax error in the docstring. 2017-04-23 07:38:24 +02:00
Andy Port 977914528c Merge pull request #18 from derVedro/patch-5
fixed ignored height and width arguments (specified using svg_attributes argument in disvg/wsvg)
2017-04-20 20:34:59 -07:00
alphanoob1337 fb49d5b752 List of transformations in transform attribute are now parsed correctly. 2017-04-10 09:19:14 +02:00
alphanoob1337 3a2cd2c7a0 Unit test added for transformations.
Transformation bugs fixed.
2017-04-09 16:13:15 +02:00
alphanoob1337 8542afb77c Made code follow PEP8 2017-04-09 10:53:04 +02:00
Juan Pablo Contreras 2a24cf640d Added functionality to process both circles and ellipses.
Added tests related to the functionality.
2017-04-07 09:44:04 +02:00
alphanoob1337 dcf8203a42 Fixed #16
Groups are now taken into account during parsing and transform attributes of groups are applied to the paths before they are returned.
2017-04-07 02:03:24 +02:00
Andy Port d8dfbd01fc changed default (when svg_attributes doesn't have a height/width) to the szx and szy constructed from path bounding boxes
@DerVedro was there a reason you thought the default should be 100% (beyond that being the current behavior -- which I see as a bug)?
2017-04-06 16:05:28 -07:00
derVedro 88185419f5 fliped width and height
the x and y were swaped by my mistake
2017-03-31 00:26:02 +02:00
derVedro f72987d69b fixed ignored height and width arguments
issue #17 fix
2017-03-31 00:17:59 +02:00
Andy 7be111bba8 fix new README example whitespace 2017-03-30 03:06:36 -07:00
Andy 3ad65aa3c5 added example to README plus minor changed
example regarding computing many points quickly with numpy arrays
2017-03-30 02:55:40 -07:00
Andy dcd4896fd6 added "examples" folder 2017-03-30 02:22:23 -07:00
Andy 385dbb7196 cleanup
removed commented-out “pathless_svg” functionality
2017-03-30 01:57:23 -07:00
Andy 60d67923b6 fix issue#15 Path.cropped() bug, and more
-also fixed <path>.cropped(1, 0) bug (now raises AssertionError)
-also now Path.cropped() raises AssertionError if given negative values
2017-03-30 01:38:27 -07:00
Andy 4ec69a4cff remove empty `pathtools.py` and move tests from `test_pathtools.py` to `test_path.py` 2017-03-24 00:18:22 -07: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 6921c147cd build for 1.3 release 2017-02-28 23:38:19 -08:00
Andy 1655b77d15 removed builtins imports 2017-02-28 23:34:29 -08:00
Andy 465e96f8c8 for PyPI v1.3 update 2017-02-28 23:11:46 -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 f697a91190 fixed higher order Bezier to polynomial conversion 2017-02-28 20:41:35 -08:00
Andy 0cf57d4276 label swap/fix -- no effect 2017-02-28 18:29:19 -08:00
Andy Port bfe601da99 Merge pull request #10 from Canule/patch-1
smoothing.py - xrange
2017-02-26 15:10:30 -08:00
Canule 70b03ad233 xrange 2017-02-26 23:42:13 +01:00
Andy e2555b8d80 prepare 1.2.6 distribution for PyPI 2017-02-20 23:05:31 -08:00
Andy 46e141ad0a update version number 2017-02-20 23:02:09 -08:00
Andy 19841906f7 added some unittests for the .intersect() methods 2017-02-20 22:57:59 -08:00
Andy d38485d69c minor bezier_intersections() docstring fix 2017-02-20 22:33:35 -08:00