summaryrefslogtreecommitdiff
path: root/libs/pixman-0.40.0/demos/gtk-utils.h
blob: 36be4def6af5db6ac27673c71cbbc5bf944cdfd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <stdlib.h>
#include <glib.h>
#include <gtk/gtk.h>
#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);