aboutsummaryrefslogtreecommitdiff
path: root/nanosvgrast.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 /nanosvgrast.c
parent423f7dc6990b1cb5afde95f8383c44b1a4dce16a (diff)
downloadwbg-51de02c51f06bda67c40474d148e21d4717ba086.tar.gz
svg: initial support for SVG images, using nanosvg
Diffstat (limited to 'nanosvgrast.c')
-rw-r--r--nanosvgrast.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nanosvgrast.c b/nanosvgrast.c
new file mode 100644
index 0000000..1aa46c4
--- /dev/null
+++ b/nanosvgrast.c
@@ -0,0 +1,6 @@
+#include <stdlib.h>
+#include <string.h>
+
+#include <nanosvg.h>
+#define NANOSVGRAST_IMPLEMENTATION
+#include <nanosvgrast.h>