gtk/gdk-pixbuf/gdk-pixbuf.h

31 lines
977 B
C
Raw Normal View History

1999-01-04 23:53:12 +00:00
#ifndef _GDK_PIXBUF_H_
#define _GDK_PIXBUF_H_
#include <libart_lgpl/art_misc.h>
1999-01-04 23:53:12 +00:00
#include <libart_lgpl/art_pixbuf.h>
#include <glib.h>
1999-01-04 23:53:12 +00:00
typedef struct _GdkPixBuf GdkPixBuf;
typedef void (*GdkPixBufUnrefFunc) (GdkPixBuf *pixbuf);
struct _GdkPixBuf
{
int ref_count;
ArtPixBuf *art_pixbuf;
GdkPixBufUnrefFunc *unref_fn;
};
1999-01-04 23:53:12 +00:00
GdkPixBuf *gdk_pixbuf_load_image (const char *file);
void gdk_pixbuf_save_image (const char *format_id, const char *file, ...);
GdkPixBuf *gdk_pixbuf_new (ArtPixBuf *art_pixbuf,
GdkPixBufUnrefFunc *unref_fn);
1999-01-04 23:53:12 +00:00
void gdk_pixbuf_ref (GdkPixBuf *pixbuf);
void gdk_pixbuf_unref (GdkPixBuf *pixbuf);
GdkPixBuf *gdk_pixbuf_duplicate (const GdkPixBuf *pixbuf);
GdkPixBuf *gdk_pixbuf_scale (const GdkPixBuf *pixbuf, gint w, gint h);
GdkPixBuf *gdk_pixbuf_rotate (GdkPixBuf *pixbuf, gdouble angle);
void gdk_pixbuf_destroy (GdkPixBuf *pixbuf);
1999-01-04 23:53:12 +00:00
#endif /* _GDK_PIXBUF_H_ */