aboutsummaryrefslogtreecommitdiff
path: root/nanosvg.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-07-24 00:09:16 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-15 23:06:16 -0600
commit51de02c51f06bda67c40474d148e21d4717ba086 (patch)
treec6f035f4b8f2e085082b24b5d1f2554fa5418b65 /nanosvg.c
parent423f7dc6990b1cb5afde95f8383c44b1a4dce16a (diff)
downloadwbg-51de02c51f06bda67c40474d148e21d4717ba086.tar.gz
svg: initial support for SVG images, using nanosvg
Diffstat (limited to 'nanosvg.c')
-rw-r--r--nanosvg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nanosvg.c b/nanosvg.c
new file mode 100644
index 0000000..5a77f2b
--- /dev/null
+++ b/nanosvg.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+#include <string.h>
+#include <math.h>
+#define NANOSVG_ALL_COLOR_KEYWORDS
+#define NANOSVG_IMPLEMENTATION
+#include <nanosvg.h>