Gabe Lerner
Gabe Lerner
notes: so `rotate(90)` and `rotate(180)` work but `rotate(30)` doesn't (yet?) because we make a pattern tile then pass it to https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern with `repeat`. this rotates the line but doesn't tile...
i did some more searching, theoretically one can use https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern/setTransform to implement this on the browser (i don't think it's available in node). open to PRs on this issue!
maybe something like https://github.com/canvg/canvg/blob/master/src/Mouse.ts#L104 ?
yea it would be a feature request. i don't have an ETA of when we will get to it but we are taking pull requests and will review/merge if you...
this is because canvg doesn't support `[patternContentUnits](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/patternContentUnits)` yet. this needs to be fixed to handle your example and the one on that link ```xml ```
pattern is supported w/ proper syntax http://canvg.github.io/canvg/examples/index.htm?svg=../svgs/30.svg
that smaller example helps ... if you remove `x="-14.4" y="-14.4"` from the `pattern` it begins working, although it's not the right opacity so there's a bug w/ `fill-opacity`. so current...
agreed we have a regression somewhere @dangreen `` is an easy example to look at:  but in v2:  even `` is broken
_From [[email protected]](https://code.google.com/u/105116630668603938502/) on March 26, 2012 02:29:33_ BTW, it looks like incorrect matrix transformation. I changed my example - put additional shift to the transformation matrix for the second path...
_From [[email protected]](https://code.google.com/u/105116630668603938502/) on April 15, 2012 17:41:52_ It looks like it doesn't understand transform attribute on clipPath