Damn this SVG spec
-
It's so close to working top down, render as you parse. Except for scaling. In order to support the "view box" feature you need to know the bounding rectangle that contains all the drawing items, which you can't have until you parse them all. So I either get to parse twice, or store the whole doc in memory. For one feature.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
-
It's so close to working top down, render as you parse. Except for scaling. In order to support the "view box" feature you need to know the bounding rectangle that contains all the drawing items, which you can't have until you parse them all. So I either get to parse twice, or store the whole doc in memory. For one feature.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
-
honey - shot you an email - but why? Is this project related?
Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
It's only project related in that it's part of my graphics library that I use for projects. I've expanded some in email.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix