mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
96ba724fc5
Added scaling of pixmaps. Currently doesn't work, however, since I'm guessing how art_rgb_affine really works. Mark
23 lines
665 B
C
23 lines
665 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);
|
|
|
|
void gdk_pixbuf_free (GdkPixBuf *pixbuf);
|
|
|
|
#endif /* _GDK_PIXBUF_H_ */
|