From 4a03212d2dfac7079d51bd98faefe423889761cf Mon Sep 17 00:00:00 2001 From: Saivan Date: Mon, 5 Mar 2018 02:24:43 +1100 Subject: Fixed recommendations by @Fuzzyma regarding transforms 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 --- playgrounds/transforms/transforms.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'playgrounds/transforms') diff --git a/playgrounds/transforms/transforms.html b/playgrounds/transforms/transforms.html index ac60f14..89dc419 100644 --- a/playgrounds/transforms/transforms.html +++ b/playgrounds/transforms/transforms.html @@ -10,9 +10,14 @@ -

SVG JS Playground

+

Transformations

- +

+ Here you can try out our transformation code, try moving around the pink + box in your console with its variable name: mover +

+ + -- cgit v1.2.3