Svg.path

Latest version: v6.2

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

2.0b1

------------------

- Added a Path.d() function to generate the Path's d attribute.

- Added is_smooth_from() on QubicBezier and QuadradicBezier.

- Path()'s now have a .closed property.

- Fixed the representation so it's parseable.

- The calculations for CubicBezier and Arc segments are now recursive,
and will end when a specific accuracy has been achieved.
This is somewhat faster for Arcs and somewhat slower for CubicBezier.
However, you can now specify an accuracy, so if you want faster but
looser calculations, you can have that.

- 't' segments (smooth, relative QuadraticBeziers) whose previous segment was
not a QuadraticBezier would get an incorrect control point.

1.2

----------------

- New Quadradic Bezier implementation. [Justin Gruenberg]

- Solved issue 6: Z close path behavior. [abcjjy]

1.1

----------------

- Floats with negative exponents work again.

- New tokenizer that is around 20 times faster.

1.0

----------------

- Solved issue 2: Paths with negative values and no spaces didn't work.
[regebro]

1.0b1

------------------

- Original release.

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.