| The GdkPixbuf Library | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | |
#include <gdk-pixbuf/gdk-pixbuf.h> void (*ModulePreparedNotifyFunc) (GdkPixbuf *pixbuf, |
void (*ModulePreparedNotifyFunc) (GdkPixbuf *pixbuf, |
| pixbuf : | |
| user_data : |
void (*ModuleUpdatedNotifyFunc) (GdkPixbuf *pixbuf, |
| pixbuf : | |
| user_data : | |
| x : | |
| y : | |
| width : | |
| height : |
struct GdkPixbufModule {
char *module_name;
gboolean (* format_check) (guchar *buffer, int size);
GModule *module;
GdkPixbuf *(* load) (FILE *f);
GdkPixbuf *(* load_xpm_data) (const gchar **data);
/* Incremental loading */
gpointer (* begin_load) (ModulePreparedNotifyFunc prepare_func, ModuleUpdatedNotifyFunc update_func, gpointer user_data);
void (* stop_load) (gpointer context);
gboolean (* load_increment)(gpointer context, const gchar *buf, guint size);
}; |
GdkPixbufModule* gdk_pixbuf_get_module ( |
| buffer : | |
| size : | |
| Returns : |