summaryrefslogtreecommitdiff
path: root/docs/reference/gdk-pixbuf/tmpl/animation.sgml
blob: 6a64ac85dd53103dc889e64e2fba403e764016c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!-- ##### SECTION Title ##### -->
Animations

<!-- ##### SECTION Short_Description ##### -->
Animations as multi-frame structures.

<!-- ##### SECTION Long_Description ##### -->
  <para>
    The &gdk-pixbuf; library provides a simple mechanism to load and
    represent animations, primarily animated GIF files.  Animations
    are represented as lists of #GdkPixbufFrame structures.  Each
    frame structure contains a #GdkPixbuf structure and information
    about the frame's overlay mode and duration.
  </para>

<!-- ##### SECTION See_Also ##### -->
  <para>
    #GdkPixbufLoader
  </para>

<!-- ##### ENUM GdkPixbufFrameAction ##### -->
  <para>
    Each animation frame can have several things happen to it when the
    next frame is displayed.  The #GdkPixbufFrameAction determines
    this.  These are essentially the overlay modes supported by GIF
    animations.
  </para>

@GDK_PIXBUF_FRAME_RETAIN: The previous image should remain displayed,
and will potentially be occluded by the new frame.
@GDK_PIXBUF_FRAME_DISPOSE: The animation will be reverted to the state
before the frame was shown.
@GDK_PIXBUF_FRAME_REVERT: The animation will be reverted to the first
frame.

<!-- ##### STRUCT GdkPixbufFrame ##### -->
  <para>
    This structure describes a frame in a #GdkPixbufAnimation.  Each
    frame consists of a #GdkPixbuf, an offset of the frame within the
    animation's bounding box, a duration, and an overlay mode or
    action.
  </para>

@pixbuf: 
@x_offset: 
@y_offset: 
@delay_time: 
@action: 

<!-- ##### STRUCT GdkPixbufAnimation ##### -->
  <para>
    This structure describes an animation, which is represented as a
    list of #GdkPixbufFrame structures.
  </para>

@parent_instance: 
@n_frames: 
@frames: 
@width: 
@height: 

<!-- ##### STRUCT GdkPixbufAnimationClass ##### -->
<para>

</para>


<!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
<para>

</para>

@filename: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_animation_ref ##### -->
<para>

</para>

@animation: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_animation_unref ##### -->
<para>

</para>

@animation: 


<!-- ##### FUNCTION gdk_pixbuf_animation_get_frames ##### -->
<para>

</para>

@animation: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### -->
<para>

</para>

@animation: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_animation_get_num_frames ##### -->
<para>

</para>

@animation: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### -->
<para>

</para>

@animation: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_frame_get_pixbuf ##### -->
<para>

</para>

@frame: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_frame_get_action ##### -->
<para>

</para>

@frame: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_frame_get_y_offset ##### -->
<para>

</para>

@frame: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_frame_get_delay_time ##### -->
<para>

</para>

@frame: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_frame_get_x_offset ##### -->
<para>

</para>

@frame: 
@Returns: <!--
Local variables:
mode: sgml
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
End:
-->