Open ghost opened 3 years ago
gradientTransform
is supported.
I had an SVG with gradientTransform="matrix(0.03 0 0 0.3 2 2)"
but this was not processed so I did it manually :/ Are you sure matrix()
is supported as well as transform()
and/or scale()
Only proportional scale and translate are supported. Everything else cannot be applied. I'm not sure how exactly you're applying it manually.
I calculated the translated and scaled gradient handles, then checked my working with Inkscape.
Gradients are simple to support this feature with, I assume paths are much more complex
https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()
Doesn't minify a or with a
gradientTransform
attribute set to amatrix()
function.