aboutsummaryrefslogtreecommitdiff
path: root/svg.h
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 /svg.h
parent423f7dc6990b1cb5afde95f8383c44b1a4dce16a (diff)
downloadwbg-51de02c51f06bda67c40474d148e21d4717ba086.tar.gz
svg: initial support for SVG images, using nanosvg
Diffstat (limited to 'svg.h')
-rw-r--r--svg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/svg.h b/svg.h
new file mode 100644
index 0000000..d8fb6eb
--- /dev/null
+++ b/svg.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <stdio.h>
+#include <pixman.h>
+
+pixman_image_t *svg_load(FILE *fp, const char *path);