aboutsummaryrefslogtreecommitdiff
path: root/pixman/demos/gtk-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/demos/gtk-utils.h')
-rw-r--r--pixman/demos/gtk-utils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/pixman/demos/gtk-utils.h b/pixman/demos/gtk-utils.h
new file mode 100644
index 000000000..2cb13bcf0
--- /dev/null
+++ b/pixman/demos/gtk-utils.h
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <glib.h>
+#include <gtk/gtk.h>
+#include "pixman.h"
+
+void show_image (pixman_image_t *image);
+
+GdkPixbuf *pixbuf_from_argb32 (uint32_t *bits,
+ gboolean has_alpha,
+ int width,
+ int height,
+ int stride);