T-core

Gnome::GdkPixbuf::T-core

#------------------------------------------------------------------------------- #--[Enumerations]--------------------------------------------------------------- #-------------------------------------------------------------------------------

Enumerations

GdkColorspace

This enumeration defines the color spaces that are supported by the gdk-pixbuf library.

Currently only RGB is supported.

  • GDK_COLORSPACE_RGB; Indicates a red/green/blue additive color space.

GdkPixbufAlphaMode

Control the alpha channel for drawables.

These values can be passed to gdk_pixbuf_xlib_render_to_drawable_alpha() in gdk-pixbuf-xlib 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.

  • GDK_PIXBUF_ALPHA_BILEVEL; A bilevel clipping mask (black and white) will be created and used to draw the image. Pixels below 0.5 opacity will be considered fully transparent, and all others will be considered fully opaque.

  • GDK_PIXBUF_ALPHA_FULL; For now falls back to GDK_PIXBUF_ALPHA_BILEVEL. In the future it will do full alpha compositing.

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.

  • GDK_PIXBUF_ERROR_CORRUPT_IMAGE; An image file was broken somehow.

  • GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY; Not enough memory.

  • GDK_PIXBUF_ERROR_BAD_OPTION; A bad option was passed to a pixbuf save module.

  • GDK_PIXBUF_ERROR_UNKNOWN_TYPE; Unknown image type.

  • GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION; Don't know how to perform the given operation on the type of image at hand.

  • GDK_PIXBUF_ERROR_FAILED; Generic failure code, something went wrong.

  • GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION; Only part of the animation was loaded.

#------------------------------------------------------------------------------- #--[Callback Functions]--------------------------------------------------------- #-------------------------------------------------------------------------------

Callback Functions

Gnome::GdkPixbuf v0.1.3

Modules for Gnome::Pixbuf:api<2>. Graphical media loading and manipulation

Authors

  • Marcel Timmerman

License

Artistic-2.0

Dependencies

Gnome::GObject:api<2>Gnome::Glib:api<2>Gnome::Gio:api<2>Gnome::N:api<2>

Test Dependencies

Provides

  • Gnome::GdkPixbuf::Pixbuf
  • Gnome::GdkPixbuf::T-core

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.