From fa679d1e5f9c08d597936dc6252718509e6e1c91 Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Wed, 1 Nov 2017 18:55:11 -0500 Subject: [PATCH] Implemented linear and radial gradients for fill and stroke colors. Fixed radial gradients. Enable transforms for gradients. Radial transforms not fully supported. Not sure how to deal with scale for them. Parse the transforms as floats Update main.js Fix item tag generation and substituteUseRef This should be a return Parse the style attribute on the stop tag. Adobe likes making stop-color and stop-opacity attributes. Looks like Inkscape use stye tags. Typo with an extra parentheses Fix the extra tag close Bump version number So it doesn't load an old version from the browser cache. --- index.html | 2 +- js/main.js | 171 ++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 157 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index 003f8b9..50143f0 100644 --- a/index.html +++ b/index.html @@ -155,4 +155,4 @@