mntone / SvgForXaml

Draw SVG image with Win2D
MIT License
94 stars 18 forks source link

Performance? #2

Open SebastianStehle opened 8 years ago

SebastianStehle commented 8 years ago

Hi, I really like your project and would like to use in the context of a Win2D application. Have you done some performance measurements. I had a look to the Win2DRenderer and realized that there are a lot of transformations from svg to win2d objects and allocations, which might hurt performance. It is probably fine with the SvgImage control, because it renders the svg's less often and creates a reusable buffer but it might hurt when you draw large svgs and use something like the VirtualCanvasControl or when you render it inside a custom win2d session.