diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-01-04 23:53:12 +0000 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-01-04 23:53:12 +0000 |
commit | 249f6c5326e865f3fbdd5275ec84a0cd7e9273aa (patch) | |
tree | fecce05b8d446842a6725c9f125b46194962ec0f /gdk-pixbuf/gdk-pixbuf.h | |
parent | c20ce751795ade36c73e2e04ddf712ef489b5e48 (diff) | |
download | gdk-pixbuf-249f6c5326e865f3fbdd5275ec84a0cd7e9273aa.tar.gz |
Initial revision
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf.h b/gdk-pixbuf/gdk-pixbuf.h new file mode 100644 index 000000000..6c5e8f8fb --- /dev/null +++ b/gdk-pixbuf/gdk-pixbuf.h @@ -0,0 +1,18 @@ +#ifndef _GDK_PIXBUF_H_ +#define _GDK_PIXBUF_H_ + +#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_ */ |