summaryrefslogtreecommitdiffstats
path: root/src/point.js
Commit message (Collapse)AuthorAgeFilesLines
* Rename files so that they reflect their exported classes (see next commit)Ulrich-Matthias Schäfer2018-10-251-74/+0
|
* satisfy linterUlrich-Matthias Schäfer2018-05-271-1/+0
|
* Most of the animations are workingSaivan2018-05-171-2/+8
|
* Fixed recommendations by @Fuzzyma regarding transformsSaivan2018-03-051-6/+5
| | | | | | | | | | | | This commit fixes a number of issues with transformations: - Removed move/dmove/etc... on groups - Sugar was being passed origin instead of ox, oy - Updated the changelog - Removed parseMatrix in favor of new SVG.Matrix() - .matrix is the getter for a matrix, not .transform - added a [02:24:41] Using gulpfile ~/Desktop/svg/svg.js/gulpfile.js [02:24:41] Starting 'lint'... [02:24:43] Finished 'lint' after 2.32 s directive
* Implemented new transformationsSaivan2018-03-021-4/+4
| | | | | | This commit implements the new transformation model, but it also needs to modify a few tests to fit the new format. This is still a work in progress.
* All files now loosely abide by standard lintingSaivan2018-02-271-25/+23
| | | | | | 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-1/+1
| | | | | | | | | | - 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
* Implement a more basic morph method for SVG.PathArrayRémi Tétreault2016-12-201-33/+2
| | | | | | 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-7/+38
| | | | | Also add methods to SVG.Point that allow to perform operations between two points.
* doublecheck SVG.parser, use svg element which is not in the dom (#471)Ulrich-Matthias Schäfer2016-04-021-1/+1
|
* added SVG.Point class as wrapper for SVGPoint, added `el.point()` method ↵Ulrich-Matthias Schäfer2016-01-111-0/+72
(#403 / #437)