Page:Xlib - C Language X Interface.pdf/24

 Both specify the required byte order for images for each scanline unit in XY format (bitmap) or for each pixel value in Z format. The macro or function can return either LSBFirst or MSBFirst.

Both return the size of a bitmap's scanline unit in bits. The scanline is calculated in multiples of this value.

Within each bitmap unit, the left-most bit in the bitmap as displayed on the screen is either the least significant or most significant bit in the unit. This macro or function can return LSBFirst or MSBFirst.

Each scanline must be padded to a multiple of bits returned by this macro or function.