1999-01-04 23:53:12 +00:00
|
|
|
#ifndef _GDK_PIXBUF_H_
|
|
|
|
#define _GDK_PIXBUF_H_
|
|
|
|
|
1999-01-05 21:27:07 +00:00
|
|
|
#include <libart_lgpl/art_misc.h>
|
1999-01-04 23:53:12 +00:00
|
|
|
#include <libart_lgpl/art_pixbuf.h>
|
1999-07-24 03:50:12 +00:00
|
|
|
#include <glib.h>
|
1999-01-04 23:53:12 +00:00
|
|
|
|
1999-09-22 22:30:51 +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, ...);
|
1999-09-22 22:30:51 +00:00
|
|
|
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);
|
1999-09-22 22:30:51 +00:00
|
|
|
GdkPixBuf *gdk_pixbuf_duplicate (const GdkPixBuf *pixbuf);
|
|
|
|
GdkPixBuf *gdk_pixbuf_scale (const GdkPixBuf *pixbuf, gint w, gint h);
|
1999-07-19 02:13:34 +00:00
|
|
|
GdkPixBuf *gdk_pixbuf_rotate (GdkPixBuf *pixbuf, gdouble angle);
|
1999-07-16 20:35:21 +00:00
|
|
|
|
1999-07-19 02:13:34 +00:00
|
|
|
void gdk_pixbuf_destroy (GdkPixBuf *pixbuf);
|
1999-01-04 23:53:12 +00:00
|
|
|
|
1999-10-08 23:01:05 +00:00
|
|
|
GdkPixBuf *gdk_pixbuf_load_image_from_rgb_d (unsigned char *data,
|
|
|
|
int rgb_width, int rgb_height);
|
|
|
|
|
|
|
|
|
1999-01-04 23:53:12 +00:00
|
|
|
#endif /* _GDK_PIXBUF_H_ */
|