Learn R Programming

RGtk2 (version 2.12.17)

gdk-pixbuf-animation: Animations

Description

Animated images.

Arguments

Methods and Functions

gdkPixbufAnimationNewFromFile(filename, .errwarn = TRUE) gdkPixbufAnimationGetWidth(object) gdkPixbufAnimationGetHeight(object) gdkPixbufAnimationGetIter(object, start.time) gdkPixbufAnimationIsStaticImage(object) gdkPixbufAnimationGetStaticImage(object) gdkPixbufAnimationIterAdvance(object, current.time) gdkPixbufAnimationIterGetDelayTime(object) gdkPixbufAnimationIterOnCurrentlyLoadingFrame(object) gdkPixbufAnimationIterGetPixbuf(object) gdkPixbufSimpleAnimNew(width, height, rate) gdkPixbufSimpleAnimAddFrame(object, pixbuf) gdkPixbufAnimation(filename, .errwarn = TRUE) gdkPixbufSimpleAnim(width, height, rate)

Hierarchy

GObject +----GdkPixbufAnimation GObject +----GdkPixbufAnimationIter

Detailed Description

The gdk-pixbuf library provides a simple mechanism to load and represent animations. An animation is conceptually a series of frames to be displayed over time. Each frame is the same size. The animation may not be represented as a series of frames internally; for example, it may be stored as a sprite and instructions for moving the sprite around a background. To display an animation you don't need to understand its representation, however; you just ask gdk-pixbuf what should be displayed at a given point in time.

Convenient Construction

gdkPixbufAnimation is the equivalent of gdkPixbufAnimationNewFromFile. gdkPixbufSimpleAnim is the equivalent of gdkPixbufSimpleAnimNew.

References

http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-animation.html

See Also

GdkPixbufLoader