* gdk-pixbuf/gdk-pixbuf-sections.txt,
        gdk-pixbuf/tmpl/animation.sgml,
        gdk-pixbuf/tmpl/module_interface.sgml: Updates. (#63293)
This commit is contained in:
Matthias Clasen
2001-10-30 23:58:00 +00:00
parent 7d02abe46e
commit a5b8d8c115
4 changed files with 57 additions and 41 deletions

View File

@ -1,3 +1,9 @@
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gdk-pixbuf/gdk-pixbuf-sections.txt,
gdk-pixbuf/tmpl/animation.sgml,
gdk-pixbuf/tmpl/module_interface.sgml: Updates. (#63293)
2001-10-28 Anders Carlsson <andersca@gnu.org> 2001-10-28 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtkadjustment.sgml: Update struct member docs * gtk/tmpl/gtkadjustment.sgml: Update struct member docs

View File

@ -98,28 +98,17 @@ gdk_pixbuf_fill
<SECTION> <SECTION>
<FILE>animation</FILE> <FILE>animation</FILE>
GdkPixbufFrameAction
GdkPixbufFrame GdkPixbufFrame
GdkPixbufAnimation GdkPixbufAnimation
GdkPixbufAnimationIter GdkPixbufAnimationIter
GdkPixbufGifAnim
gdk_pixbuf_animation_new_from_file gdk_pixbuf_animation_new_from_file
gdk_pixbuf_animation_ref gdk_pixbuf_animation_ref
gdk_pixbuf_animation_unref gdk_pixbuf_animation_unref
gdk_pixbuf_animation_get_frames
gdk_pixbuf_animation_get_width gdk_pixbuf_animation_get_width
gdk_pixbuf_animation_get_num_frames
gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_height
gdk_pixbuf_animation_get_iter gdk_pixbuf_animation_get_iter
gdk_pixbuf_animation_is_static_image gdk_pixbuf_animation_is_static_image
gdk_pixbuf_animation_get_static_image gdk_pixbuf_animation_get_static_image
gdk_pixbuf_frame_copy
gdk_pixbuf_frame_free
gdk_pixbuf_frame_get_pixbuf
gdk_pixbuf_frame_get_action
gdk_pixbuf_frame_get_y_offset
gdk_pixbuf_frame_get_delay_time
gdk_pixbuf_frame_get_x_offset
gdk_pixbuf_animation_iter_advance gdk_pixbuf_animation_iter_advance
gdk_pixbuf_animation_iter_get_delay_time gdk_pixbuf_animation_iter_get_delay_time
gdk_pixbuf_animation_iter_on_currently_loading_frame gdk_pixbuf_animation_iter_on_currently_loading_frame
@ -129,13 +118,11 @@ gdk_pixbuf_animation_iter_get_pixbuf
GDK_PIXBUF_ANIMATION GDK_PIXBUF_ANIMATION
GDK_TYPE_PIXBUF_ANIMATION GDK_TYPE_PIXBUF_ANIMATION
GDK_IS_PIXBUF_ANIMATION GDK_IS_PIXBUF_ANIMATION
GDK_TYPE_PIXBUF_FRAME
GDK_IS_PIXBUF_ANIMATION_ITER GDK_IS_PIXBUF_ANIMATION_ITER
GDK_PIXBUF_ANIMATION_ITER GDK_PIXBUF_ANIMATION_ITER
GDK_TYPE_PIXBUF_ANIMATION_ITER GDK_TYPE_PIXBUF_ANIMATION_ITER
<SUBSECTION Private> <SUBSECTION Private>
gdk_pixbuf_frame_get_type
gdk_pixbuf_animation_get_type gdk_pixbuf_animation_get_type
gdk_pixbuf_animation_iter_get_type gdk_pixbuf_animation_iter_get_type
</SECTION> </SECTION>
@ -183,8 +170,6 @@ gdk_pixbuf_loader_get_type
ModuleFillVtableFunc ModuleFillVtableFunc
ModulePreparedNotifyFunc ModulePreparedNotifyFunc
ModuleUpdatedNotifyFunc ModuleUpdatedNotifyFunc
ModuleFrameDoneNotifyFunc
ModuleAnimationDoneNotifyFunc
GdkPixbufModule GdkPixbufModule
</SECTION> </SECTION>

View File

@ -20,9 +20,10 @@ Animated images.
#GdkPixbufLoader #GdkPixbufLoader
</para> </para>
<!-- ##### STRUCT GdkPixbufFrame ##### --> <!-- ##### STRUCT GdkPixbufFrame ##### -->
<para> <para>
This object describes an individual frame of an animation.
</para> </para>
@ -34,7 +35,8 @@ Animated images.
<!-- ##### STRUCT GdkPixbufAnimationIter ##### --> <!-- ##### STRUCT GdkPixbufAnimationIter ##### -->
<para> <para>
A #GdkPixbufAnimationIter provides the necessary functionality to
display an animation. See gdk_pixbuf_animation_get_iter().
</para> </para>

View File

@ -16,48 +16,71 @@ Module Interface
<!-- ##### USER_FUNCTION ModuleFillVtableFunc ##### --> <!-- ##### USER_FUNCTION ModuleFillVtableFunc ##### -->
<para> <para>
Defines the type of the function used to set the vtable of a
#GdkPixbufModule when it is loaded.
</para> </para>
@module: @module: a #GdkPixbufModule.
<!-- ##### USER_FUNCTION ModulePreparedNotifyFunc ##### --> <!-- ##### USER_FUNCTION ModulePreparedNotifyFunc ##### -->
<para> <para>
Defines the type of the function that gets called once the initial
setup of @pixbuf is done.
</para>
<para>
#GdkPixbufLoader uses a function of this type to emit the
"<link linkend="GdkPixbufLoader-area-prepared">area_prepared</link>"
signal.
</para> </para>
@pixbuf: @pixbuf: the #GdkPixbuf that is currently being loaded.
@anim: @anim: if an animation is being loaded, the #GdkPixbufAnimation, else %NULL.
@user_data: @user_data: the loader.
<!-- ##### USER_FUNCTION ModuleUpdatedNotifyFunc ##### --> <!-- ##### USER_FUNCTION ModuleUpdatedNotifyFunc ##### -->
<para> <para>
Defines the type of the function that gets called every time a region
of @pixbuf is updated.
</para>
<para>
#GdkPixbufLoader uses a function of this type to emit the
"<link linkend="GdkPixbufLoader-area-updated">area_updated</link>"
signal.
</para> </para>
@pixbuf: @pixbuf: the #GdkPixbuf that is currently being loaded.
@x: @x: the X origin of the updated area.
@y: @y: the Y origin of the updated area.
@width: @width: the width of the updated area.
@height: @height: the height of the updated area.
@user_data: @user_data: the loader.
<!-- ##### STRUCT GdkPixbufModule ##### --> <!-- ##### STRUCT GdkPixbufModule ##### -->
<para> <para>
A #GdkPixbufModule contains the necessary functions to load and save
images in a certain file format.
</para>
<para>
A #GdkPixbufModule can be loaded dynamically from a #GModule.
Each loadable module must contain a #ModuleFillVtableFunc function named
<funcion>gdk_pixbuf__<replaceable>module_name</replaceable>_fill_vtable</function>.
It will get called when the module is loaded and must set the function
pointers of the #GdkPixbufModule.
</para> </para>
@module_name: @module_name: the name of the module, usually the same as the
@format_check: usual file extension for images of this type, eg. "xpm", "jpeg" or "png".
@module: @format_check: checks if the given data is the beginning of a valid image
@load: in the format supported by the module.
@load_xpm_data: @module: the loaded #GModule.
@begin_load: @load: loads an image from a file.
@stop_load: @load_xpm_data: loads an image from data in memory.
@load_increment: @begin_load: begins an incremental load.
@load_animation: @stop_load: stops an incremental load.
@save: @load_increment: continues an incremental load.
@load_animation: loads an animation from a file.
@save: saves a #GdkPixbuf to a file.