简体   繁体   中英

Render SVG in C# Windows RT metro app

Is there a way to render a string (containing SVG) to PNG using Windows RT? I know there are libraries like this , but they rely on GDI+ and it seems too much work changing all those dependencies to eg the WritableBitmapEx. I don't need a clean solution and I'd be happy with rendering a browser control displying the SVG, but I don't know if that's possible either.

You may be able to use SharpVectors . You can feed SVG string in FileSvgConverter which can convert SVG file to corresponding XAML; which then can be rendered on screen. According to documentation there is no GDI+ dependencies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM