gdk-pixbuf.h 757 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
#include <libart_lgpl/art_pixbuf.h>
6
#include <glib.h>
Arturo Espinosa's avatar
Arturo Espinosa committed
7 8 9 10 11 12 13 14 15 16 17

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);
18 19
GdkPixBuf *gdk_pixbuf_duplicate  (GdkPixBuf *pixbuf);
GdkPixBuf *gdk_pixbuf_scale	 (GdkPixBuf *pixbuf, gint w, gint h);
Mark Crichton's avatar
Mark Crichton committed
20
GdkPixBuf *gdk_pixbuf_rotate     (GdkPixBuf *pixbuf, gdouble angle);
21

Mark Crichton's avatar
Mark Crichton committed
22
void	   gdk_pixbuf_destroy    (GdkPixBuf *pixbuf);
Arturo Espinosa's avatar
Arturo Espinosa committed
23 24

#endif /* _GDK_PIXBUF_H_ */