mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
6423183a63
Ok minor changes. No longer make a version.h, and cleaned up some code here and there, and added a quickie dirty-hack rotation function. However, it rotates at the origin. Is this what we want? Or do we want a rotate w.r.t. the center of the pixbuf? Anyone. Mark
24 lines
739 B
C
24 lines
739 B
C
#ifndef _GDK_PIXBUF_H_
|
|
#define _GDK_PIXBUF_H_
|
|
|
|
#include <libart_lgpl/art_misc.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);
|
|
GdkPixBuf *gdk_pixbuf_scale (GdkPixBuf *pixbuf, gint w, gint h);
|
|
GdkPixBuf *gdk_pixbuf_rotate (GdkPixBuf *pixbuf, gdouble angle);
|
|
|
|
void gdk_pixbuf_destroy (GdkPixBuf *pixbuf);
|
|
|
|
#endif /* _GDK_PIXBUF_H_ */
|