From f567ea1e2798fd3156a416e61f083ea3e6b95719 Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 12 Oct 2022 13:26:36 -0500 Subject: add pixman and libpng --- libs/pixman-0.40.0/demos/gtk-utils.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libs/pixman-0.40.0/demos/gtk-utils.h (limited to 'libs/pixman-0.40.0/demos/gtk-utils.h') diff --git a/libs/pixman-0.40.0/demos/gtk-utils.h b/libs/pixman-0.40.0/demos/gtk-utils.h new file mode 100644 index 0000000..36be4de --- /dev/null +++ b/libs/pixman-0.40.0/demos/gtk-utils.h @@ -0,0 +1,15 @@ +#include +#include +#include +#include +#include "pixman.h" + +void show_image (pixman_image_t *image); + +pixman_image_t * +pixman_image_from_file (const char *filename, pixman_format_code_t format); + +GdkPixbuf *pixbuf_from_argb32 (uint32_t *bits, + int width, + int height, + int stride); -- cgit v1.2.1