summaryrefslogtreecommitdiff
path: root/demos/gtk-utils.h
blob: 55cb7018af31229875c7c29e15fdf0e5c5894fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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,
                               int width,
                               int height,
                               int stride);