Add simple wxBitmapBundle::FromSVG() implementation using NanoSVG

Add nanosvg submodule and use it in the generic implementation of this
function.

This is incomplete yet and, notably, doesn't cache the rasterized
images, but already shows that using SVG images works (at least in the
toolbar sample).
This commit is contained in:
Vadim Zeitlin 2021-09-28 18:03:55 +01:00
parent 5ebd76156d
commit ac02ae877f
17 changed files with 369 additions and 27 deletions

4
.gitmodules vendored
View file

@ -26,3 +26,7 @@
path = 3rdparty/pcre
url = https://github.com/wxWidgets/pcre
branch = wx
[submodule "3rdparty/nanosvg"]
path = 3rdparty/nanosvg
url = https://github.com/wxWidgets/nanosvg
branch = wx