Releases: meerk40t/svgelements
Releases · meerk40t/svgelements
Bug Fixes
Corrects #101, #103, #104, #105 .
Degenerate objects are now omitted. If they should not be rendered they are not parsed.
Path bbox is corrected. The library previously used a short-hand method that did not work.
CSS classes value sharing and overwriting now works correctly.
ID within value but not attribute does not crash the element_by_id lookup.
Reify Inverted Shapes
Corrects the reification of inverted shapes.
Issue #99
Issue 97: Degenerate Arc Bounding Box
- Corrects
.bbox()
for paths with degenerate arcs and degenerate arcs themselves.
Issue 95. Color.value change.
- Corrects Issue 95. Multiple Reification of Stroke-Width for Skewed Matrices.
- Gives
Group
a static function for bbox. Color
now can use long and correct for it rather than cheating and keeping shorts.Color
accepts String of integer.
Merge pull request #93 from meerk40t/1.4.7
Add Group.bbox and Matrix Multiply of Groups.
Temporary Python 2.7 Support.
Enacting very temporary support of Python 2.7. Merry Christmas!
This will be removed from the next version. (though the code will likely not be changed).
Fix Fill Opacity Bug
- Fix a small Fill Opacity bug.
ClipPath and Parsing Tweaks.
- Adds ClipPath
- Adds SVG Fill/Clip Rules
- IRI Parsing
- Stoke-Width to first class parsed citizen of all Graphics Objects
- Groups are Transformable
- Transformable operates on stroke width
- Stroke width is processed like real Length/Percentage
- Corrected Width and Height when ViewBox is not added for percent based objects. (These must use the Width and Height given to construct a non-scaling transformation, but also not overwrite the width or height with None).
- Corrected Edge case Def Use Use nesting which pushed the second nested Use to the regular dom.
- Corrected Use Use Styling objects. Now propagates the shadow-dom node sequences.
- Added render() as common function among all objects, since Length objects are pretty common.
- XY values are set specifically on SVGImage objects.
- Desc added. SVGDesc is deprecated.
- Added Title element.
- Stroke Width elements set to 1 by default. Per spec.
- Capped shadow dom recursion stops working if infinite loop occurs.
Soft Numpy Softened
Numpy in header was too inclusive. Moved the includes to the npoint blocks, so it will not try to do the include if the program being used doesn't try to use those features.
Cubic Length Scipy
- Speedup for Cubic Length if Scipy is installed. (Thanks to @abey79)
- arc_angle() function now accepts ccw kwargs. The default is still whether angle a0 is greater than angle a1. However, in some cases the it's correct to insist on a strict chirality.
- Structural Parsing of style blocks within def blocks will pass that element to the main parsing routine. So that <style/> code isn't omitted. This lead to a bug in some files.
- Appending two different CSS classes doesn't fail the assignment. These would strictly concatenate rather than include the
;
token between them.