summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-08 14:29:15 +0100
committerGitHub <noreply@github.com>2017-03-08 14:29:15 +0100
commit0534a6760a094d5a9425bde1d89bb8b71ae6a798 (patch)
tree2585c5ac4ec556626550499566cbcbefb68be24e /CHANGELOG.md
parent2fc62c55b889b0b533b17b2d4d9207f4b6c8b482 (diff)
downloadsvg.js-0534a6760a094d5a9425bde1d89bb8b71ae6a798.tar.gz
svg.js-0534a6760a094d5a9425bde1d89bb8b71ae6a798.zip
added SVG.Box, added transform method to boxes, fix rbox (#626)
added SVG.Box, added transform method to boxes, fix rbox Also: - workaround for screenCTM with nested svg (FF bug) - remove unneeded workaround in toParent() - rbox accepts additional parameter to transform the box
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74ac2dd..8d25672 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,6 +34,8 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http:
- added a plot and array method to `SVG.TextPath` (#582)
- added `clone()` method to `SVG.Array/PointArray/PathArray` (#590)
- added `font()` method to `SVG.Tspan`
+- added `SVG.Box()`
+- added `transform()` method to boxes
### Changed
- changed CHANGELOG to follow the conventions described in [“Keep a CHANGELOG”](http://keepachangelog.com) (#578)
@@ -44,6 +46,13 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http:
- relative value for `SVG.Number` are now calculated in its `morph` method (related #547)
- clean up the implementation of the `initAnimation` method of the FX module (#547, #552, #584)
- deprecated `.tbox()`. `.tbox()` now map to `.rbox()`. If you are using `.tbox()`, you can substitute it with `.rbox()` (#594, #602)
+- all boxes now accept 4 values or an object on creation
+- `el.rbox()` now always returns the right boxes in screen coordinates and has an additional paramater to transform the box into other coordinate systems
+
+### Fixed
+- fixed a bug in the plain morphing part of `SVG.MorphObj` that is in the FX module
+- fixed bug which produces an error when removing an event from a node which was formerly removed with a global `off()` (#518)
+- fixed a bug in `size()` for poly elements when their height/width is zero (#505)
- viewbox now also accepts strings and arrays as constructor arguments
- `SVG.Array` now accepts a comma seperated string and returns array of numbers instead of strings
- `SVG.Matrix` now accepts an array as input
@@ -51,13 +60,6 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http:
- `dx()/dy()` now accepts percentage values, too but only if the value on the element is already percentage
- `flip()` now flips on both axis when no parameter is passed
-### Fixed
-- fixed a bug in the plain morphing part of `SVG.MorphObj` that is in the FX module
-- fixed bug which produces an error when removing an event from a node which was formerly removed with a global `off()` (#518)
-- fixed a bug in `size()` for poly elements when their height/width is zero (#505)
-
-====
-
## [2.4.0] - 2017-01-14