Add very basic SVG support

We need to refactor, so that SVGs are pre-rendered on each change
of scaling by librsvg directly, because some elements may be rasterized.

It would be best to also support building against resvg.
This commit is contained in:
2021-11-09 19:42:43 +01:00
parent 1e380f695a
commit 1c5cc50939
7 changed files with 150 additions and 22 deletions

View File

@@ -1,2 +1,4 @@
option('libraw', type : 'feature', value : 'auto',
description : 'Build with RAW support, requires LibRaw')
option('librsvg', type : 'feature', value : 'auto',
description : 'Build with SVG support, requires librsvg')