KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
61 stars 6 forks source link

Render SVG using lunasvg #1395

Closed Randalphwa closed 5 months ago

Randalphwa commented 5 months ago

This PR picks up the latest wxWidgets 3.3 code along with a private branch that allows replacing nanosvg with lunasvg. The new SVG rendering engine is more accurate and can handle the SVG files created by Affinity Designer (serif.com). This makes it possible for me to update the existing SVG files with much smaller versions, and makes it possible to start replacing all of the PNG files with SVG files.

Note that as a consequence of this PR, it's possible for the Mockup in wxUiEditor to render an SVG file correctly, but it may be displayed incorrectly if the generated code is run under wxWidgets 3.2.