Hi @Sabme
I assume you want to use SVGs because you want the vector information? (If you just wanted pixels could of course use png, jpg whatever).
As I understand the SVGWriter is part of the Skia package.
In theory all you have to do is
- Get your polygons and polypaths and use draw functions that will draw them directly in Skia. EG DrawPolygon (Skia) and DrawPolypath (Skia). Interally these use the Skia SKpath type.
- Connect those layers to SVGWriter
- Then I think SVGWriter will takes the layers with vector information (SKPaths) and uses that to write the SVG.
Problem is you said you were using Stride. I’m not sure how you are using it but a rasterised stride scene (pixels) going back to Skia and then to SVGWriter will probably only give you rastersied data in a SVG writer.
There is not much documentation on SVGwriter, maybe this thread could be useful: