~ubuntu-branches/ubuntu/trusty/gdk-pixbuf/trusty

« back to all changes in this revision

Viewing changes to gdk-pixbuf/gdk-pixbuf-animation.c

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-08-06 22:01:05 UTC
  • mfrom: (1.3.4)
  • Revision ID: package-import@ubuntu.com-20120806220105-v5xmrretoyk0w2xr
Tags: 2.26.2-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 * @Title: Animations
36
36
 * @See_also: #GdkPixbufLoader.
37
37
 * 
38
 
 * The &gdk-pixbuf; library provides a simple mechanism to load and represent
39
 
 * animations. An animation is conceptually a series of frames to be displayed
40
 
 * over time. Each frame is the same size. The animation may not be represented
41
 
 * as a series of frames internally; for example, it may be stored as a 
42
 
 * sprite and instructions for moving the sprite around a background. To display 
43
 
 * an animation you don't need to understand its representation, however; you just
44
 
 * ask &gdk-pixbuf; what should be displayed at a given point in time. 
 
38
 * The GdkPixBuf library provides a simple mechanism to load and
 
39
 * represent animations. An animation is conceptually a series of
 
40
 * frames to be displayed over time. The animation may not be
 
41
 * represented as a series of frames internally; for example, it may
 
42
 * be stored as a sprite and instructions for moving the sprite around
 
43
 * a background. To display an animation you don't need to understand
 
44
 * its representation, however; you just ask GdkPixBuf what should
 
45
 * be displayed at a given point in time.
45
46
 * 
46
47
 */
47
48
 
390
391
/**
391
392
 * gdk_pixbuf_animation_get_iter:
392
393
 * @animation: a #GdkPixbufAnimation
393
 
 * @start_time: time when the animation starts playing
 
394
 * @start_time: (allow-none): time when the animation starts playing
394
395
 * 
395
396
 * Get an iterator for displaying an animation. The iterator provides
396
397
 * the frames that should be displayed at a given time.
481
482
 * gdk_pixbuf_animation_iter_get_pixbuf:
482
483
 * @iter: an animation iterator
483
484
 * 
484
 
 * Gets the current pixbuf which should be displayed; the pixbuf will
 
485
 * Gets the current pixbuf which should be displayed; the pixbuf might not
485
486
 * be the same size as the animation itself
486
487
 * (gdk_pixbuf_animation_get_width(), gdk_pixbuf_animation_get_height()). 
487
488
 * This pixbuf should be displayed for 
528
529
/**
529
530
 * gdk_pixbuf_animation_iter_advance:
530
531
 * @iter: a #GdkPixbufAnimationIter
531
 
 * @current_time: current time
 
532
 * @current_time: (allow-none): current time
532
533
 *
533
534
 * Possibly advances an animation to a new frame. Chooses the frame based
534
535
 * on the start time passed to gdk_pixbuf_animation_get_iter().