throrin19/svgutils

View on GitHub
CHANGELOG

Summary

Maintainability
Test Coverage
[0.11.0]
- convert elements into Path (object path created but not used at this time on import and manipulation)
- add common class on all elements
- add class on specific element
- add possibility to set stylesheets to svg.
[0.10.0]
- Add function removeByType
[0.9.3]
- Fix bug on InnerBox calculation
[0.9.2]
- Optimize code
- add function removeAllByType on svg and group classes
[0.9.1]
- add svg and group function findByIdWithoutType
[0.9.0]
- Fix bugs
- Add circle element
[0.8.6]
- Fix bugs
[0.8.5]
- Fix bugs
[0.8.4]
- Fix bugs
[0.8.3]
- Fix bugs
[0.8.2]
- Add function to calculate all innerBoxes and set innerbox in data object
[0.8.1]
- Fix bugs
[0.8.0]
- Get Rect and Polygon InnerBox
[0.7.2]
- Clean dependencies
[0.7.1]
- Clean Polygon identical points in sequence.
[0.7.0]
- Convert DXF File to SVG
[0.6.4]
- update dependancies
- add function findByIdAndType in SVG and Group
[0.6.3]
- get SVG BBox
[0.6.2]
- fix bugs
[0.6.1]
- add image xlink:href support
[0.6.0]
- use correct practice to inherit svgobject
- start rewrite all code with odnb code style
- add image arsing for xml and json
[0.5.4]
- remove the 't_' prefix on text ID
- set svg width and height
- get svg width and height
- get group bbox
- fix png conversion size error on OSX
[0.5.3]
- Add Image Setters
- fix bug on href attribute (replaced by xlink:href)
[0.5.2]
- Add Image to Elements
[0.5.1]
- Add fromJSON function
[0.5.0]
- Add <image> element
- save svg into .svg file
- save svg into .png file
[0.4.4]
- fix bug on setId for text with his value
[0.4.3]
- set data.id and data.name automatically with setId and setName. It's update to communicate with snapsvg and protect setted id
[0.4.1]
- add findById in Svg and Group classes
[0.4.0]
- optimize boundingbox calcul.
- Manual calculation of BoundingBox
- Remove PhantomJS constraint
[0.3.2]
- optimize boundingbox calcul but, with phantomJS, no support large size. Wait svg implementation in jsdom
[0.3.0]
- add contains function
[0.2.4]
- fix major bug if use many svg as same time
[0.2.2]
- fix bug on applyMatrix
[0.2.1]
- add matrix apply for all svg
[0.2.0]
- use data-* attributes
- use Phantom.JS to calculate boundingBox
[0.1.0]
- Create Project
- Add <rect> element
- Add <polygon>
- Add <text> Element
- Add <polyline> Element
- Add <tspan> Element
- Add <g> Element
- Use Snap.Svg Matrix class