Commit 5d15f302 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Fix misleading documentation of rowstride. (#113924, Noah Levitt)

2003-06-01  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixdata.h (struct _GdkPixdata): Fix misleading documentation
	of rowstride.  (#113924, Noah Levitt)
parent 8f0e4cf6
2003-06-01 Matthias Clasen <maclas@gmx.de>
* gdk-pixdata.h (struct _GdkPixdata): Fix misleading documentation
of rowstride. (#113924, Noah Levitt)
2003-05-27 Matthias Clasen <maclas@gmx.de>
* io-wbmp.c: Remove dubious bitfields of
......
......@@ -73,9 +73,9 @@ typedef enum
* #GDK_PIXDATA_HEADER_LENGTH + length of @pixel_data.
* @pixdata_type: information about colorspace, sample width and
* encoding, in a #GdkPixdataType.
* @rowstride: padding used in @pixel_data or 0 to indicate no padding.
* @width: the width.
* @height: the height.
* @rowstride: Distance in bytes between rows.
* @width: Width of the image in pixels.
* @height: Height of the image in pixels.
* @pixel_data: @width x @height pixels, encoded according to @pixdata_type
* and @rowstride.
*
......@@ -90,7 +90,7 @@ struct _GdkPixdata
* GDK_PIXDATA_HEADER_LENGTH + pixel_data length
*/
guint32 pixdata_type; /* GdkPixdataType */
guint32 rowstride; /* maybe 0 to indicate non-padded data */
guint32 rowstride;
guint32 width;
guint32 height;
guint8 *pixel_data;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment