Working on Svg animation support for my Svg.Skia library https://github.com/wieslawsoltes/Svg.Skia
Svg control also supports pointer evens and hit testing, this paired with animation system opens up new possibilities.
@soltes SVG UI with JavaScript? I do utilize SVG hit testing in @skipperapp so folks can click on SVG button and run some action. It's fun and works. Only issue is loading on RaspberryPi, it's slow like 3 seconds and then 900ms to update.
@jan @skipperapp did d you try printing profiling to see where the hot path is on pi ? That would help me optimizing
@soltes @skipperapp well, the issue is in loading SvgDocument and then running transform to render objects, that was slow in Rpi, render itself is quite fast. As far as I can remember. I don't have any profiler on Rpi, but can setup sample if you let me know how 😃
@jan @skipperapp well ideally it would be dotTrace profiling result 😅
@jan @skipperapp anyway will try to optimize the loading and transformation part 💪

@soltes @skipperapp the SVG I was testing is this one: https://bin.dytrych.cloud/download/b3b841335df2e348/#m-yRcuucR2wJ3m5ejiB6Yw

Will try today/tomorrow on CM5 in release mode and add few timers.

First, I load the SVG
SvgImage.Source = svgString;
_document = ((Svg.Model.Drawables.Elements.FragmentDrawable)SvgImage.SkSvg.Drawable).Element as SvgDocument;
- that takes about 3 seconds (+/-)
- then I do alter SvgDocument and force repaint, that took about 900 ms (+/-).

Send

Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.

@soltes @skipperapp found VECTOR_IMAGE_MEASURE_PERFORMANCE enabled by default. Can test it with latest version on console...