Details
struct GdkPixbuf
struct GdkPixbuf {
/* Reference count */
int ref_count;
/* Libart pixbuf */
ArtPixBuf *art_pixbuf;
}; |
This is the main structure in the GdkPixbuf library. This
structure adds reference counting capabilities to an ArtPixBuf
structure.
gdk_pixbuf_get_format ()
ArtPixFormat gdk_pixbuf_get_format (GdkPixbuf *pixbuf); |
Queries the image format (color model) of a pixbuf.
gdk_pixbuf_get_n_channels ()
int gdk_pixbuf_get_n_channels (GdkPixbuf *pixbuf); |
Queries the number of channels of a pixbuf.
gdk_pixbuf_get_has_alpha ()
int gdk_pixbuf_get_has_alpha (GdkPixbuf *pixbuf); |
Queries whether a pixbuf has an alpha channel (opacity information).
gdk_pixbuf_get_bits_per_sample ()
int gdk_pixbuf_get_bits_per_sample (GdkPixbuf *pixbuf); |
Queries the number of bits per color sample in a pixbuf.
gdk_pixbuf_get_pixels ()
guchar* gdk_pixbuf_get_pixels (GdkPixbuf *pixbuf); |
Queries a pointer to the pixel data of a pixbuf.
gdk_pixbuf_get_width ()
int gdk_pixbuf_get_width (GdkPixbuf *pixbuf); |
Queries the width of a pixbuf.
gdk_pixbuf_get_height ()
int gdk_pixbuf_get_height (GdkPixbuf *pixbuf); |
Queries the height of a pixbuf.
gdk_pixbuf_get_rowstride ()
int gdk_pixbuf_get_rowstride (GdkPixbuf *pixbuf); |
Queries the rowstride of a pixbuf, or the number of bytes between rows.