diff options
Diffstat (limited to 'docs/reference/gdk-pixbuf')
-rw-r--r-- | docs/reference/gdk-pixbuf/Makefile.am | 16 | ||||
-rw-r--r-- | docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml | 124 |
2 files changed, 75 insertions, 65 deletions
diff --git a/docs/reference/gdk-pixbuf/Makefile.am b/docs/reference/gdk-pixbuf/Makefile.am index 7893c29ce..d5199d41a 100644 --- a/docs/reference/gdk-pixbuf/Makefile.am +++ b/docs/reference/gdk-pixbuf/Makefile.am @@ -62,6 +62,13 @@ HTML_IMAGES = # Extra options to supply to gtkdoc-fixref FIXXREF_OPTIONS= +include $(top_srcdir)/gtk-doc.make + +# Other files to distribute +EXTRA_DIST += version.xml.in + +######################################################################## + man_MANS = gdk-pixbuf-csource.1 gdk-pixbuf-query-loaders.1 if ENABLE_MAN @@ -71,7 +78,10 @@ if ENABLE_MAN endif -include $(top_srcdir)/gtk-doc.make +BUILT_EXTRA_DIST = $(man_MANS) -# Other files to distribute -EXTRA_DIST += version.xml.in +dist-hook-local: $(BUILT_EXTRA_DIST) + files='$(BUILT_EXTRA_DIST)'; \ + for f in $$files; do \ + if test -f $$f; then d=.; else d=$(srcdir); fi; \ + cp $$d/$$f $(distdir) || exit 1; done diff --git a/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml b/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml index 46f92e728..1845a2573 100644 --- a/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml @@ -76,6 +76,68 @@ fields. </para> +<!-- ##### SIGNAL GdkPixbufLoader::area-prepared ##### --> + <para> + This signal is emitted when the pixbuf loader has allocated the pixbuf + in the desired size. After this signal is emitted, applications can + call gdk_pixbuf_loader_get_pixbuf() to fetch the partially-loaded pixbuf. + </para> + +@gdkpixbufloader: the object which received the signal. + +<!-- ##### SIGNAL GdkPixbufLoader::area-updated ##### --> + <para> + This signal is emitted when a significant area of the image being + loaded has been updated. Normally it means that a complete + scanline has been read in, but it could be a different area as + well. Applications can use this signal to know when to repaint + areas of an image that is being loaded. + </para> + +@gdkpixbufloader: Loader which emitted the signal. +@arg1: +@arg2: +@arg3: +@arg4: +<!-- # Unused Parameters # --> +@x: X offset of upper-left corner of the updated area. +@y: Y offset of upper-left corner of the updated area. +@width: Width of updated area. +@height: Height of updated area. + +<!-- ##### SIGNAL GdkPixbufLoader::closed ##### --> + <para> + This signal is emitted when gdk_pixbuf_loader_close() is called. + It can be used by different parts of an application to receive + notification when an image loader is closed by the code that + drives it. + </para> + +@gdkpixbufloader: the object which received the signal. + +<!-- +Local variables: +mode: sgml +sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "") +End: +--> + +<!-- ##### SIGNAL GdkPixbufLoader::size-prepared ##### --> + <para> + This signal is emitted when the pixbuf loader has been fed the + initial amount of data that is required to figure out the size + of the image that it will create. Applications can call + gdk_pixbuf_loader_set_size() in response to this signal to set + the desired size to which the image should be scaled. + </para> + +@gdkpixbufloader: the object which received the signal. +@arg1: +@arg2: +<!-- # Unused Parameters # --> +@width: the original width of the image +@height: the original height of the image + <!-- ##### FUNCTION gdk_pixbuf_loader_new ##### --> <para> @@ -163,65 +225,3 @@ fields. @Returns: -<!-- ##### SIGNAL GdkPixbufLoader::area-prepared ##### --> - <para> - This signal is emitted when the pixbuf loader has allocated the pixbuf - in the desired size. After this signal is emitted, applications can - call gdk_pixbuf_loader_get_pixbuf() to fetch the partially-loaded pixbuf. - </para> - -@gdkpixbufloader: the object which received the signal. - -<!-- ##### SIGNAL GdkPixbufLoader::area-updated ##### --> - <para> - This signal is emitted when a significant area of the image being - loaded has been updated. Normally it means that a complete - scanline has been read in, but it could be a different area as - well. Applications can use this signal to know when to repaint - areas of an image that is being loaded. - </para> - -@gdkpixbufloader: Loader which emitted the signal. -@arg1: -@arg2: -@arg3: -@arg4: -<!-- # Unused Parameters # --> -@x: X offset of upper-left corner of the updated area. -@y: Y offset of upper-left corner of the updated area. -@width: Width of updated area. -@height: Height of updated area. - -<!-- ##### SIGNAL GdkPixbufLoader::closed ##### --> - <para> - This signal is emitted when gdk_pixbuf_loader_close() is called. - It can be used by different parts of an application to receive - notification when an image loader is closed by the code that - drives it. - </para> - -@gdkpixbufloader: the object which received the signal. - -<!-- -Local variables: -mode: sgml -sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "") -End: ---> - -<!-- ##### SIGNAL GdkPixbufLoader::size-prepared ##### --> - <para> - This signal is emitted when the pixbuf loader has been fed the - initial amount of data that is required to figure out the size - of the image that it will create. Applications can call - gdk_pixbuf_loader_set_size() in response to this signal to set - the desired size to which the image should be scaled. - </para> - -@gdkpixbufloader: the object which received the signal. -@arg1: -@arg2: -<!-- # Unused Parameters # --> -@width: the original width of the image -@height: the original height of the image - |