mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Markup fixes.
* gdk-pixbuf-loader.c, gdk-pixbuf-util.c: Markup fixes.
This commit is contained in:
parent
af7ab9c630
commit
5b20006878
@ -1,3 +1,7 @@
|
||||
2001-12-12 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gdk-pixbuf-loader.c, gdk-pixbuf-util.c: Markup fixes.
|
||||
|
||||
2001-12-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* io-png.c: gdk_pixbuf__png_image_save: removed wrong endian
|
||||
|
@ -318,13 +318,13 @@ gdk_pixbuf_loader_eat_header_write (GdkPixbufLoader *loader,
|
||||
* @error: return location for errors
|
||||
*
|
||||
* This will cause a pixbuf loader to parse the next @count bytes of
|
||||
* an image. It will return TRUE if the data was loaded successfully,
|
||||
* and FALSE if an error occurred. In the latter case, the loader
|
||||
* will be closed, and will not accept further writes. If FALSE is
|
||||
* an image. It will return %TRUE if the data was loaded successfully,
|
||||
* and %FALSE if an error occurred. In the latter case, the loader
|
||||
* will be closed, and will not accept further writes. If %FALSE is
|
||||
* returned, @error will be set to an error from the #GDK_PIXBUF_ERROR
|
||||
* or #G_FILE_ERROR domains.
|
||||
*
|
||||
* Return value: #TRUE if the write was successful, or #FALSE if the loader
|
||||
* Return value: %TRUE if the write was successful, or %FALSE if the loader
|
||||
* cannot parse the buffer.
|
||||
**/
|
||||
gboolean
|
||||
@ -435,7 +435,7 @@ gdk_pixbuf_loader_new_with_type (const char *image_type,
|
||||
* gdk_pixbuf_loader_get_pixbuf:
|
||||
* @loader: A pixbuf loader.
|
||||
*
|
||||
* Queries the GdkPixbuf that a pixbuf loader is currently creating.
|
||||
* Queries the #GdkPixbuf that a pixbuf loader is currently creating.
|
||||
* In general it only makes sense to call this function after the
|
||||
* "area_prepared" signal has been emitted by the loader; this means
|
||||
* that enough data has been read to know the size of the image that
|
||||
@ -470,13 +470,13 @@ gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader)
|
||||
* gdk_pixbuf_loader_get_animation:
|
||||
* @loader: A pixbuf loader
|
||||
*
|
||||
* Queries the GdkPixbufAnimation that a pixbuf loader is currently creating.
|
||||
* Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating.
|
||||
* In general it only makes sense to call this function afer the "area_prepared"
|
||||
* signal has been emitted by the loader. If the loader doesn't have enough
|
||||
* bytes yet (hasn't emitted the area_prepared signal) this function will return
|
||||
* %NULL.
|
||||
* bytes yet (hasn't emitted the "area_prepared" signal) this function will
|
||||
* return %NULL.
|
||||
*
|
||||
* Return value: The GdkPixbufAnimation that the loader is loading, or NULL if
|
||||
* Return value: The #GdkPixbufAnimation that the loader is loading, or %NULL if
|
||||
not enough data has been read to determine the information.
|
||||
**/
|
||||
GdkPixbufAnimation *
|
||||
@ -501,7 +501,7 @@ gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader)
|
||||
* gdk_pixbuf_loader_write() will occur, so that it can free its
|
||||
* internal loading structures. Also, tries to parse any data that
|
||||
* hasn't yet been parsed; if the remaining data is partial or
|
||||
* corrupt, an error will be returned. If FALSE is returned, @error
|
||||
* corrupt, an error will be returned. If %FALSE is returned, @error
|
||||
* will be set to an error from the #GDK_PIXBUF_ERROR or #G_FILE_ERROR
|
||||
* domains. If you're just cancelling a load rather than expecting it
|
||||
* to be finished, passing %NULL for @error to ignore it is
|
||||
|
@ -31,7 +31,7 @@
|
||||
* gdk_pixbuf_add_alpha:
|
||||
* @pixbuf: A pixbuf.
|
||||
* @substitute_color: Whether to set a color to zero opacity. If this
|
||||
* is #FALSE, then the (@r, @g, @b) arguments will be ignored.
|
||||
* is %FALSE, then the (@r, @g, @b) arguments will be ignored.
|
||||
* @r: Red value to substitute.
|
||||
* @g: Green value to substitute.
|
||||
* @b: Blue value to substitute.
|
||||
@ -41,7 +41,7 @@
|
||||
* values are copied from the original; otherwise, the alpha channel
|
||||
* is initialized to 255 (full opacity).
|
||||
*
|
||||
* If @substitute_color is #TRUE, then the color specified by (@r, @g, @b) will be
|
||||
* If @substitute_color is %TRUE, then the color specified by (@r, @g, @b) will be
|
||||
* assigned zero opacity. That is, if you pass (255, 255, 255) for the
|
||||
* substitute color, all white pixels will become fully transparent.
|
||||
*
|
||||
@ -165,7 +165,7 @@ gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,
|
||||
* effects. If @saturation is 1.0 then saturation is not changed. If
|
||||
* it's less than 1.0, saturation is reduced (the image is darkened);
|
||||
* if greater than 1.0, saturation is increased (the image is
|
||||
* brightened). If @pixelate is TRUE, then pixels are faded in a
|
||||
* brightened). If @pixelate is %TRUE, then pixels are faded in a
|
||||
* checkerboard pattern to create a pixelated image. @src and @dest
|
||||
* must have the same image format, size, and rowstride.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user