Package: gdk

GEnum gdk-byte-order

Details

A set of values describing the possible byte-orders for storing pixel values in memory.
(define-g-enum "GdkByteOrder" gdk-byte-order
  (:export t
   :type-initializer "gdk_byte_order_get_type")
  (:lsb-first 0)
  (:msb-first 1))  
:lsb-first
The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00.
:msb-first
The values are stored with the most-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0x00, 0xcc, 0xee, 0xff.
 

See also

2021-12-14