From d6c4779f8b8c7dd74cfffea3d27ecc6cc50ab53a Mon Sep 17 00:00:00 2001 From: Sertonix Date: Sun, 28 Jul 2024 01:04:53 +0200 Subject: svg: rasterize with output resolution --- svg.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'svg.h') diff --git a/svg.h b/svg.h index d8fb6eb..89a6253 100644 --- a/svg.h +++ b/svg.h @@ -1,6 +1,9 @@ #pragma once #include +#include #include -pixman_image_t *svg_load(FILE *fp, const char *path); +bool svg_load(FILE *fp, const char *path); +pixman_image_t *svg_render(const int width, const int height); +void svg_free(); -- cgit v1.2.3