[Documentation] Confusing documentation for CAIRO_FORMAT_A1
The documentation for the surface format CAIRO_FORMAT_A1 states that:
pixels are packed together into 32-bit quantities. The ordering of the bits matches the endianness of the platform. On a big-endian machine, the first pixel is in the uppermost bit, on a little-endian machine the first pixel is in the least-significant bit
Reference: https://www.cairographics.org/manual/cairo-Image-Surfaces.html#cairo-format-t
In reality, the pixels are are packed in 8-bit values, with the first pixel (on a little-endian machine) in the last bit of the first byte of data (example in cairo code, here).
Maybe it's just my interpretation, but the documentation seems to imply that, on a little-endian machine, the first pixel is in the least-significant bit of the first 32-bit quantity.
It would be clearer if that documentation stated that the pixels are packed into 8-bit values, rather than 32-bit one.