gdkpixbuf.c.types

Undocumented in source.

Public Imports

gio.c.types
public import gio.c.types;
Undocumented in source.
glib.c.types
public import glib.c.types;
Undocumented in source.
gobject.c.types
public import gobject.c.types;
Undocumented in source.

Members

Aliases

Colorspace
alias Colorspace = GdkColorspace
Undocumented in source.
GDK_PIXBUF_FEATURES_H
alias GDK_PIXBUF_FEATURES_H = PIXBUF_FEATURES_H
Undocumented in source.
GDK_PIXBUF_MAGIC_NUMBER
alias GDK_PIXBUF_MAGIC_NUMBER = PIXBUF_MAGIC_NUMBER
Undocumented in source.
GDK_PIXBUF_MAJOR
alias GDK_PIXBUF_MAJOR = PIXBUF_MAJOR
Undocumented in source.
GDK_PIXBUF_MICRO
alias GDK_PIXBUF_MICRO = PIXBUF_MICRO
Undocumented in source.
GDK_PIXBUF_MINOR
alias GDK_PIXBUF_MINOR = PIXBUF_MINOR
Undocumented in source.
GDK_PIXBUF_VERSION
alias GDK_PIXBUF_VERSION = PIXBUF_VERSION
Undocumented in source.
GDK_PIXDATA_HEADER_LENGTH
alias GDK_PIXDATA_HEADER_LENGTH = PIXDATA_HEADER_LENGTH
Undocumented in source.
GdkPixbufDestroyNotify
alias GdkPixbufDestroyNotify = void function(char* pixels, void* data)

A function of this type is responsible for freeing the pixel array of a pixbuf. The gdk_pixbuf_new_from_data() function lets you pass in a pre-allocated pixel array so that a pixbuf can be created from it; in this case you will need to pass in a function of #GdkPixbufDestroyNotify so that the pixel data can be freed when the pixbuf is finalized.

GdkPixbufSaveFunc
alias GdkPixbufSaveFunc = int function(char* buf, size_t count, GError** error, void* data)

Specifies the type of the function passed to gdk_pixbuf_save_to_callback(). It is called once for each block of bytes that is "written" by gdk_pixbuf_save_to_callback(). If successful it should return %TRUE. If an error occurs it should set @error and return %FALSE, in which case gdk_pixbuf_save_to_callback() will fail with the same error.

InterpType
alias InterpType = GdkInterpType
Undocumented in source.
PixbufAlphaMode
alias PixbufAlphaMode = GdkPixbufAlphaMode
Undocumented in source.
PixbufError
alias PixbufError = GdkPixbufError
Undocumented in source.
PixbufRotation
alias PixbufRotation = GdkPixbufRotation
Undocumented in source.
PixdataDumpType
alias PixdataDumpType = GdkPixdataDumpType
Undocumented in source.
PixdataType
alias PixdataType = GdkPixdataType
Undocumented in source.

Enums

GdkColorspace
enum GdkColorspace

This enumeration defines the color spaces that are supported by the gdk-pixbuf library. Currently only RGB is supported.

GdkInterpType
enum GdkInterpType

This enumeration describes the different interpolation modes that can be used with the scaling functions. @GDK_INTERP_NEAREST is the fastest scaling method, but has horrible quality when scaling down. @GDK_INTERP_BILINEAR is the best choice if you aren't sure what to choose, it has a good speed/quality balance.

GdkPixbufAlphaMode
enum GdkPixbufAlphaMode

These values can be passed to gdk_pixbuf_xlib_render_to_drawable_alpha() to control how the alpha channel of an image should be handled. This function can create a bilevel clipping mask (black and white) and use it while painting the image. In the future, when the X Window System gets an alpha channel extension, it will be possible to do full alpha compositing onto arbitrary drawables. For now both cases fall back to a bilevel clipping mask.

GdkPixbufError
enum GdkPixbufError

An error code in the #GDK_PIXBUF_ERROR domain. Many gdk-pixbuf operations can cause errors in this domain, or in the #G_FILE_ERROR domain.

GdkPixbufRotation
enum GdkPixbufRotation

The possible rotations which can be passed to gdk_pixbuf_rotate_simple(). To make them easier to use, their numerical values are the actual degrees.

GdkPixdataDumpType
enum GdkPixdataDumpType

An enumeration which is used by gdk_pixdata_to_csource() to determine the form of C source to be generated. The three values @GDK_PIXDATA_DUMP_PIXDATA_STREAM, @GDK_PIXDATA_DUMP_PIXDATA_STRUCT and @GDK_PIXDATA_DUMP_MACROS are mutually exclusive, as are @GDK_PIXBUF_DUMP_GTYPES and @GDK_PIXBUF_DUMP_CTYPES. The remaining elements are optional flags that can be freely added.

GdkPixdataType
enum GdkPixdataType

An enumeration containing three sets of flags for a #GdkPixdata struct: one for the used colorspace, one for the width of the samples and one for the encoding of the pixel data.

Manifest constants

PIXBUF_FEATURES_H
enum PIXBUF_FEATURES_H;
Undocumented in source.
PIXBUF_MAGIC_NUMBER
enum PIXBUF_MAGIC_NUMBER;

Magic number for #GdkPixdata structures.

PIXBUF_MAJOR
enum PIXBUF_MAJOR;

Major version of gdk-pixbuf library, that is the "0" in "0.8.2" for example.

PIXBUF_MICRO
enum PIXBUF_MICRO;

Micro version of gdk-pixbuf library, that is the "2" in "0.8.2" for example.

PIXBUF_MINOR
enum PIXBUF_MINOR;

Minor version of gdk-pixbuf library, that is the "8" in "0.8.2" for example.

PIXBUF_VERSION
enum PIXBUF_VERSION;

Contains the full version of the gdk-pixbuf header as a string. This is the version being compiled against; contrast with #gdk_pixbuf_version.

PIXDATA_HEADER_LENGTH
enum PIXDATA_HEADER_LENGTH;

The length of a #GdkPixdata structure without the @pixel_data pointer.

Structs

GdkPixbuf
struct GdkPixbuf
Undocumented in source.
GdkPixbufAnimation
struct GdkPixbufAnimation
Undocumented in source.
GdkPixbufAnimationIter
struct GdkPixbufAnimationIter
Undocumented in source.
GdkPixbufFormat
struct GdkPixbufFormat
Undocumented in source.
GdkPixbufLoader
struct GdkPixbufLoader
Undocumented in source.
GdkPixbufLoaderClass
struct GdkPixbufLoaderClass
Undocumented in source.
GdkPixbufSimpleAnim
struct GdkPixbufSimpleAnim
Undocumented in source.
GdkPixbufSimpleAnimClass
struct GdkPixbufSimpleAnimClass
Undocumented in source.
GdkPixbufSimpleAnimIter
struct GdkPixbufSimpleAnimIter
Undocumented in source.
GdkPixdata
struct GdkPixdata
Undocumented in source.

Meta