summaryrefslogtreecommitdiffstats
path: root/src/patharray.js
Commit message (Collapse)AuthorAgeFilesLines
* Rename files so that they reflect their exported classes (see next commit)Ulrich-Matthias Schäfer2018-10-251-289/+0
|
* fixed declaritive again, fromArray now works on all object instancesUlrich-Matthias Schäfer2018-05-301-3/+0
|
* make morphing work, fix inheritance, animations now workUlrich-Matthias Schäfer2018-05-011-0/+8
|
* Actually added the linter to gulp and fixed most errorsSaivan2018-02-271-3/+3
| | | | | | This commit fixes most of the errors raised by standard. There is still a strange call error, but that will be the focus of the next commit
* All files now loosely abide by standard lintingSaivan2018-02-271-99/+87
| | | | | | This commit completes the rest of the files, making sure they are in the standard linting format. Next we will add the linter to the build process of our application.
* Lots of breaking changes. Read below! (#646, #716)Ulrich-Matthias Schäfer2017-07-251-7/+6
| | | | | | | | | | - 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
* fixed a bug in path parser which made it stop parsing when hitting z command ↵Ulrich-Matthias Schäfer2017-04-251-1/+1
| | | | | | | | | | (#665) Conflicts: bench/runner.html dist/svg.js dist/svg.min.js package.json
* make path parsing even fasterUlrich-Matthias Schäfer2017-03-271-78/+86
|
* fixed `SVG.PathArray.parse` that did not correctly parsed flat arraysUlrich-Matthias Schäfer2017-03-241-1/+1
|
* speed up path parsing for most casesUlrich-Matthias Schäfer2017-03-061-15/+3
| | | | added test, added pathArray speed bench
* Added clone method to SVG.Array/PointArray/PathArray (#590)Ulrich-Matthias Schäfer2017-02-201-1/+2
|
* Make some fixes in SVG.PathArrayRémi Tétreault2016-12-231-9/+9
| | | | | Rename the method haveSameCommands to equalCommands and replace undefined by null.
* Implement a more basic morph method for SVG.PathArrayRémi Tétreault2016-12-201-39/+31
| | | | | | The method expect the paths to use the exact same commands. It will not attempt to modify them if they do not. Any more complex algorithm shall be provided as a plugin instead in order to keep the size of the library down.
* Implement the morph method of SVG.PathArrayRémi Tétreault2016-12-201-2/+67
| | | | | Also add methods to SVG.Point that allow to perform operations between two points.
* fixed bug in `parse()` from `SVG.PathArray` which does not correctly handled ↵Ulrich-Matthias Schäfer2016-05-051-1/+1
| | | | `S` and `T` (#485)
* fixed bug related to the new path parser, text-method of tspan is a getter ↵Ulrich-Matthias Schäfer2015-11-301-12/+13
| | | | now, too
* fix leading point bug in path parsing (#416)Ulrich-Matthias Schäfer2015-11-281-11/+22
|
* `SvgPathSeg` is removed in Chrome 48. Added workaround (fixes #409)Ulrich-Matthias Schäfer2015-11-181-77/+104
|
* tab to space, block comments to line commentsUlrich-Matthias Schäfer2015-11-061-18/+18
|
* remove useless executable permissionPeter Dave Hello2015-06-231-0/+0
|
* Completely reworked transform systemwout2014-07-111-1/+1
|
* Added SVG.Circle, removed structural internal referenceswout2014-06-251-1/+1
|
* Bumped to 1.0.0-rc.6wout2014-03-041-38/+1
|
* Completely reworked `SVG.Text`, `SVG.TSpan` and `SVG.PathArray` and bumped ↵wout2014-02-141-195/+142
| | | | to 1.0.0-rc.5
* Minor enhancement in patharray arcswout2014-02-051-4/+4
|
* convert bool to int, so d only contains number values - fixes #145dotnetCarpenter2014-02-051-2/+2
|
* Fix in patharray arcwout2014-02-051-3/+3
|
* Fix for arcs in SVG.PathArray#toString methodwout2014-02-041-7/+7
|
* fix for arcs in patharray toString() methodwout2014-02-041-5/+3
|
* Shortened arc objects in PathArraywout2014-01-291-5/+5
|
* Added SVG.PathArray, updated data() and bumped to v1.0rc1wout2014-01-291-0/+296