Cairo is a 2D graphics library. Pixel formats are defined in the cairo_format_t enumeration.
cairo_format_t