aboutsummaryrefslogtreecommitdiff
path: root/pixman/demos/gtk-utils.h
blob: 2cb13bcf014f3dbf38e24f18feb5ed37b45a20c5 (plain)
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);