Michael X. Grey
17d283abe0
Iterate on the implementation of the Document class
2018-05-07 18:31:06 -07:00
Michael X. Grey
9370d3f5a2
Add a method to parse transform strings
2018-05-07 18:30:15 -07:00
Michael X. Grey
f2897f6b79
Make the Document class available when importing the library
2018-05-07 18:29:19 -07:00
Andy
52ffcf1746
made some design changes
2017-09-19 20:47:36 -04:00
Andy
8a44431d5a
fixed documentation line-width to be PEP 8 compliant
2017-09-14 22:16:37 -04:00
Andy
5489321203
fixed documentation line-width to be PEP 8 compliant
2017-09-14 22:06:25 -04:00
Andy
d20ef060aa
Some progress (and added CONTRIBUTING.md)
2017-07-13 20:41:55 -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
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
216965e6ab
Corrected wrongly deleted docstring line
2017-04-23 07:50:43 +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
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
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
1655b77d15
removed builtins imports
2017-02-28 23:34:29 -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
Canule
70b03ad233
xrange
2017-02-26 23:42:13 +01:00
Andy
d38485d69c
minor bezier_intersections() docstring fix
2017-02-20 22:33:35 -08:00
Andy
a154796576
changes related to arcs and intersections
...
-fixed quadratic/Arc intersections
-changed assertion that an arc's radii are positive to non-zero
-improved Arc.intersect() docstring to further explain partial
implementation
2017-02-20 22:10:16 -08:00
Andy
a81af16d89
improved Arc docstring and added positive radii assertion to Arc
2017-02-20 20:11:54 -08:00
Andy
c219d1e671
improved Arc class docstring
2017-02-20 19:46:16 -08:00
Andy
058b23585f
fixed bug (issue #9 ) where line.intersect(curve) results are reversed
2017-02-20 19:21:07 -08:00
Andy
1622d01d05
add note that `svg_attributes={'debug': False}` increases `disvg`/`wsvg` speed considerably.
2017-02-05 23:18:23 -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
remi-pr
3575fec9af
Fixed the rotated method of all objects
...
The rotated method of all objects was not using the origin argument but always self.point(0.5) even though it is all correctly handled in the rotate function they are all calling
2016-10-28 15:11:31 +02:00
Andy
6be04c6750
Fix python 3 incompatibility with Path.intersect() method
2016-10-16 00:20:52 -07:00
derVedro
f782b628ff
check for necessity of line on closing command
2016-10-09 07:45:42 +02:00
Andy
a6719c56c5
fixed __init__.py
2016-07-23 17:15:22 -07:00
Andy
849ad17088
add polyroots01 to __init__.py
2016-07-22 18:44:34 -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
9b3d6fe5e3
initial commit
2016-07-05 21:51:11 -07:00