ModulePreparedNotifyFunc
void
GdkPixbuf *pixbuf, gpointer user_data
ModuleUpdatedNotifyFunc
void
GdkPixbuf *pixbuf,
guint x, guint y,
guint width, guint height,
gpointer user_data
ModuleFrameDoneNotifyFunc
void
GdkPixbufFrame *frame,
gpointer user_data
ModuleAnimationDoneNotifyFunc
void
GdkPixbuf *pixbuf,
gpointer user_data
GdkPixbufModule
GdkPixbufModule
struct GdkPixbufModule {
char *module_name;
gboolean (* format_check) (guchar *buffer, int size);
GModule *module;
GdkPixbuf *(* load) (FILE *f);
GdkPixbuf *(* load_xpm_data) (const char **data);
/* Incremental loading */
gpointer (* begin_load) (ModulePreparedNotifyFunc prepare_func,
ModuleUpdatedNotifyFunc update_func,
ModuleFrameDoneNotifyFunc frame_done_func,
ModuleAnimationDoneNotifyFunc anim_done_func,
gpointer user_data);
void (* stop_load) (gpointer context);
gboolean (* load_increment) (gpointer context, const guchar *buf, guint size);
/* Animation loading */
GdkPixbufAnimation *(* load_animation) (FILE *f);
};
gdk_pixbuf_get_module
GdkPixbufModule *
guchar *buffer, guint size
gdk_pixbuf_load_module
void
GdkPixbufModule *image_module
GDK_TYPE_PIXBUF_LOADER
#define GDK_TYPE_PIXBUF_LOADER (gdk_pixbuf_loader_get_type ())
GDK_PIXBUF_LOADER
#define GDK_PIXBUF_LOADER(obj) (GTK_CHECK_CAST ((obj), GDK_TYPE_PIXBUF_LOADER, GdkPixbufLoader))
GDK_PIXBUF_LOADER_CLASS
#define GDK_PIXBUF_LOADER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXBUF_LOADER, GdkPixbufLoaderClass))
GDK_IS_PIXBUF_LOADER
#define GDK_IS_PIXBUF_LOADER(obj) (GTK_CHECK_TYPE ((obj), GDK_TYPE_PIXBUF_LOADER))
GDK_IS_PIXBUF_LOADER_CLASS
#define GDK_IS_PIXBUF_LOADER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXBUF_LOADER))
GdkPixbufLoader
GdkPixbufLoader
struct GdkPixbufLoader
{
GtkObject object;
/* < Private > */
gpointer private;
};
GdkPixbufLoaderClass
gdk_pixbuf_loader_get_type
GtkType
void
gdk_pixbuf_loader_new
GdkPixbufLoader *
void
gdk_pixbuf_loader_write
gboolean
GdkPixbufLoader *loader,const guchar *buf,size_t count
gdk_pixbuf_loader_get_pixbuf
GdkPixbuf *
GdkPixbufLoader *loader
gdk_pixbuf_loader_get_animation
GdkPixbufAnimation *
GdkPixbufLoader *loader
gdk_pixbuf_loader_close
void
GdkPixbufLoader *loader
GdkPixbuf
GdkPixbufFrame
GdkPixbufAnimation
GdkPixbuf
struct GdkPixbuf {
/* Reference count */
int ref_count;
/* Libart pixbuf */
ArtPixBuf *art_pixbuf;
};
GdkPixbufFrameAction
typedef enum {
GDK_PIXBUF_FRAME_RETAIN,
GDK_PIXBUF_FRAME_DISPOSE,
GDK_PIXBUF_FRAME_REVERT
} GdkPixbufFrameAction;
GdkPixbufFrame
struct GdkPixbufFrame {
/* The pixbuf with this frame's image data */
GdkPixbuf *pixbuf;
/* Offsets for overlaying onto the animation's area */
int x_offset;
int y_offset;
/* Frame duration in ms */
int delay_time;
/* Overlay mode */
GdkPixbufFrameAction action;
};
GdkPixbufAnimation
struct GdkPixbufAnimation {
/* Reference count */
int ref_count;
/* Number of frames */
int n_frames;
/* List of GdkPixbufFrame structures */
GList *frames;
};
gdk_pixbuf_get_format
ArtPixFormat
GdkPixbuf *pixbuf
gdk_pixbuf_get_n_channels
int
GdkPixbuf *pixbuf
gdk_pixbuf_get_has_alpha
int
GdkPixbuf *pixbuf
gdk_pixbuf_get_bits_per_sample
int
GdkPixbuf *pixbuf
gdk_pixbuf_get_pixels
guchar *
GdkPixbuf *pixbuf
gdk_pixbuf_get_width
int
GdkPixbuf *pixbuf
gdk_pixbuf_get_height
int
GdkPixbuf *pixbuf
gdk_pixbuf_get_rowstride
int
GdkPixbuf *pixbuf
gdk_pixbuf_ref
GdkPixbuf *
GdkPixbuf *pixbuf
gdk_pixbuf_unref
void
GdkPixbuf *pixbuf
gdk_pixbuf_new_from_art_pixbuf
GdkPixbuf *
ArtPixBuf *art_pixbuf
gdk_pixbuf_new
GdkPixbuf *
ArtPixFormat format, gboolean has_alpha, int bits_per_sample,int width, int height
gdk_pixbuf_new_from_file
GdkPixbuf *
const char *filename
gdk_pixbuf_new_from_data
GdkPixbuf *
guchar *data,ArtPixFormat format,gboolean has_alpha,int width, int height,int rowstride,ArtDestroyNotify dfunc,gpointer dfunc_data
gdk_pixbuf_new_from_xpm_data
GdkPixbuf *
const char **data
gdk_pixbuf_add_alpha
GdkPixbuf *
GdkPixbuf *pixbuf, gboolean substitute_color,guchar r, guchar g, guchar b
GdkPixbufAlphaMode
typedef enum {
GDK_PIXBUF_ALPHA_BILEVEL,
GDK_PIXBUF_ALPHA_FULL
} GdkPixbufAlphaMode;
gdk_pixbuf_render_threshold_alpha
void
GdkPixbuf *pixbuf, GdkBitmap *bitmap,int src_x, int src_y,int dest_x, int dest_y,int width, int height,int alpha_threshold
gdk_pixbuf_render_to_drawable
void
GdkPixbuf *pixbuf,GdkDrawable *drawable, GdkGC *gc,int src_x, int src_y,int dest_x, int dest_y,int width, int height,GdkRgbDither dither,int x_dither, int y_dither
gdk_pixbuf_render_to_drawable_alpha
void
GdkPixbuf *pixbuf, GdkDrawable *drawable,int src_x, int src_y,int dest_x, int dest_y,int width, int height,GdkPixbufAlphaMode alpha_mode,int alpha_threshold,GdkRgbDither dither,int x_dither, int y_dither
gdk_pixbuf_render_pixmap_and_mask
void
GdkPixbuf *pixbuf,GdkPixmap **pixmap_return, GdkBitmap **mask_return,int alpha_threshold
gdk_pixbuf_get_from_drawable
GdkPixbuf *
GdkPixbuf *dest,GdkDrawable *src, GdkColormap *cmap,int src_x, int src_y,int dest_x, int dest_y,int width, int height
gdk_pixbuf_copy_area
void
GdkPixbuf *src_pixbuf,int src_x, int src_y,int width, int height,GdkPixbuf *dest_pixbuf,int dest_x, int dest_y
gdk_pixbuf_scale
void
GdkPixbuf *src,GdkPixbuf *dest,int dest_x,int dest_y,int dest_width,int dest_height,double offset_x,double offset_y,double scale_x,double scale_y,ArtFilterLevel filter_level
gdk_pixbuf_composite
void
GdkPixbuf *src,GdkPixbuf *dest,int dest_x,int dest_y,int dest_width,int dest_height,double offset_x,double offset_y,double scale_x,double scale_y,ArtFilterLevel filter_level,int overall_alpha
gdk_pixbuf_composite_color
void
GdkPixbuf *src,GdkPixbuf *dest,int dest_x,int dest_y,int dest_width,int dest_height,double offset_x,double offset_y,double scale_x,double scale_y,ArtFilterLevel filter_level,int overall_alpha,int check_x,int check_y,int check_size,art_u32 color1,art_u32 color2
gdk_pixbuf_scale_simple
GdkPixbuf *
GdkPixbuf *src,int dest_width,int dest_height,ArtFilterLevel filter_level
gdk_pixbuf_composite_color_simple
GdkPixbuf *
GdkPixbuf *src,int dest_width,int dest_height,ArtFilterLevel filter_level,int overall_alpha,int check_size,art_u32 color1,art_u32 color2
gdk_pixbuf_animation_new_from_file
GdkPixbufAnimation *
const char *filename
gdk_pixbuf_animation_ref
GdkPixbufAnimation *
GdkPixbufAnimation *animation
gdk_pixbuf_animation_unref
void
GdkPixbufAnimation *animation
gdk_pixbuf_preinit
void
gpointer app, gpointer modinfo
gdk_pixbuf_postinit
void
gpointer app, gpointer modinfo
GNOME_TYPE_CANVAS_PIXBUF
#define GNOME_TYPE_CANVAS_PIXBUF (gnome_canvas_pixbuf_get_type ())
GNOME_CANVAS_PIXBUF
#define GNOME_CANVAS_PIXBUF(obj) (GTK_CHECK_CAST ((obj), \
GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbuf))
GNOME_CANVAS_PIXBUF_CLASS
#define GNOME_CANVAS_PIXBUF_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), \
GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbufClass))
GNOME_IS_CANVAS_PIXBUF
#define GNOME_IS_CANVAS_PIXBUF(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_PIXBUF))
GNOME_IS_CANVAS_PIXBUF_CLASS
#define GNOME_IS_CANVAS_PIXBUF_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), \
GNOME_TYPE_CANVAS_PIXBUF))
GnomeCanvasPixbuf
GnomeCanvasPixbufClass
GnomeCanvasPixbuf
struct GnomeCanvasPixbuf {
GnomeCanvasItem item;
/* Private data */
gpointer priv;
};
gnome_canvas_pixbuf_get_type
GtkType
void
GDK_PIXBUF_MAJOR
#define GDK_PIXBUF_MAJOR (0)
GDK_PIXBUF_MINOR
#define GDK_PIXBUF_MINOR (4)
GDK_PIXBUF_MICRO
#define GDK_PIXBUF_MICRO (0)
GDK_PIXBUF_VERSION
#define GDK_PIXBUF_VERSION "0.4.0"
gdk_pixbuf_version
extern const char *gdk_pixbuf_version;