1 2 3 4 5 6 7 8 9 10 11 12 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);