Commit Graph

18 Commits

Author SHA1 Message Date
Ulrich-Matthias Schäfer
c40d7ffdfb fix a few mistakes. Make sugar work. Roll back to childNodes because children is 10x slower 2018-11-01 16:59:51 +01:00
Ulrich-Matthias Schäfer
d3dd6ad74b Optimized the matrix functions so that the transform function is a multitude faster for parameterized input 2018-10-08 15:18:53 +02:00
Saivan
64b3144c89 Added some timeline and Morphing functions 2018-04-23 20:25:41 +10:00
Ulrich-Matthias Schäfer
ee0b340bfe add new default constructor (#714) 2017-07-25 14:19:49 +02:00
Ulrich-Matthias Schäfer
d6d3891334 Lots of breaking changes. Read below! (#646, #716)
- added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them
- moved `defs()` method from `SVG.Parent` to `SVG.Element`
- `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646)
- `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()`
- `SVG.Nested` is not `overflow:visible` by default
- all `SVG.*` objects now can have a node as parameter when constructing
- `SVG()` does not set a default size anymore
2017-07-25 09:14:48 +02:00
Ulrich-Matthias Schäfer
408940add5 Merge branch 'master' into 3.0.0
# Conflicts - all resolved:
#	dist/svg.js
#	dist/svg.min.js
#	package.json
#	spec/SpecRunner.html
#	spec/spec/boxes.js
#	spec/spec/element.js
#	spec/spec/image.js
#	spec/spec/svg.js
#	src/boxes.js
#	src/flatten.js
#	src/image.js
#	src/polyfill.js
#	src/style.js
#	src/svg.js
2017-04-22 20:31:58 +02:00
Ulrich-Matthias Schäfer
230d2a2fa4 bump 2.5.3 2017-04-17 17:13:50 +02:00
dotnetCarpenter
ae7b087db0
change benchmark svg.js identifier to 2.5.2 2017-04-11 18:57:32 +02:00
wout
270874248d Updated CHANGELOG 2017-04-07 20:20:02 +02:00
Ulrich-Matthias Schäfer
9bfcbc184e unified all boxes (#634)
unified all boxes

- SVG.Box for everything
- bbox, rbox and viewbox as methods
- boxes can be created with string, array, object, list...
- added helper to simplify boxes code
2017-03-16 12:48:20 +01:00
Ulrich-Matthias Schäfer
083d4eb036 speed up path parsing for most cases
added test, added pathArray speed bench
2017-03-06 13:39:53 +01:00
wout
ceaf24d5a2 Added gradient tests 2017-02-22 12:10:22 +01:00
wout
2d11717fe6 Added paths to bench 2017-02-21 11:47:38 +01:00
wout
05e0ed4776 Updated bench 2017-02-21 09:43:13 +01:00
wout
d59532cd05 Updated benchmarking system 2016-08-06 09:31:44 +02:00
wout
0e23fcd9ef Added Snap.svg to benchmarking system 2016-08-04 21:19:53 +02:00
wout
7b1055707c Added native testcases for benchmarking system 2016-08-04 18:33:26 +02:00
wout
f61670db80 Added benchmark script 2016-08-04 18:06:22 +02:00