gdk-pixbuf.h 552 Bytes
Newer Older
Arturo Espinosa's avatar
Arturo Espinosa committed
1 2 3
#ifndef _GDK_PIXBUF_H_
#define _GDK_PIXBUF_H_

4
#include <libart_lgpl/art_misc.h>
Arturo Espinosa's avatar
Arturo Espinosa committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include <libart_lgpl/art_pixbuf.h>

typedef struct {
	int ref_count;
	ArtPixBuf *art_pixbuf;
	void (*unref_func)(void *gdkpixbuf);
} GdkPixBuf;

GdkPixBuf *gdk_pixbuf_load_image (const char *file);
void       gdk_pixbuf_save_image (const char *format_id, const char *file, ...);
void       gdk_pixbuf_ref        (GdkPixBuf *pixbuf);
void       gdk_pixbuf_unref      (GdkPixBuf *pixbuf);
GdkPixBuf  gdk_pixbuf_duplicate  (GdkPixBuf *pixbuf);

#endif /* _GDK_PIXBUF_H_ */