Open wilgaboury opened 2 months ago
Wanted to put this pull request up for some initial review and feedback. I'm also planning to give it a thorough self-review this week and will likely make some small changes.
Sorry, a bit busy, will look at it next week
No worries! I know it's a big change to submit all at once, so please don't feel like you have to rush to review it.
Looks great to me, would be happy to have it. How about having a Scene demonstrating some of these new APIs? Maybe not all, but just a few?
Sounds good, I'll add a scene later this week.
From quick overview, I would love to see:
Right now, I don't think it's possible to pass in currentColor from the outer world. I would have to add additional bindings for SkSVGRenderContext
and the specific method SkSVGDOM.renderNode
(which I would like to do but is going to take more time).
That being said I've messed around with dynamically changing the root nodes fill color (which is inherited by the rest of the SVG) and making a scene that changes it on hover should be easy.
Yeah let’s do that. The idea is to demonstrate/test what is available
Bindings for the assorted attribute getters and setters on SkSVGNode.