mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
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)
This commit is contained in:
parent
8f0e4cf634
commit
5d15f30279
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user