svg-tree icon indicating copy to clipboard operation
svg-tree copied to clipboard

SVG loader/serializer for Haskell

Results 13 svg-tree issues
Sort by recently updated
recently updated
newest added

(I needed this change for something ... but forgot the details.)

This is batch of changes that was necessary for my SVG sprite tool. - `currentColor` support: - I wanted sprite to be able to change color by external `color` attribute....

I was going to offer PR for `svg-tree`, but before doing so I reviewed existing PRs and forks, and noticed the https://github.com/reanimate/reanimate-svg fork (preferably I'd file this issue there but...

Shorthand arc (`a5 5 5 005 5`) notation is generated by svgo and commonly seen. (Not sure about the specification.)

Would you please consider changing the documentSize function to return (Double, Double) instead of (Int, Int)? The rounding causes an annoying precision loss in my gcode converter.

I would like to have an element inside a text element (See https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text). Is there a way to do this using the library?

See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/clip-path#Usage_notes and https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape This is a low priority issue for me.

This PR removes the 'Element' data-type and instead has non-drawable nodes embedded directly in the SVG tree. The primary benefit is that you can create any image as a Tree...

All elements can have an ID but not all elements may have drawing attributes.