External pixel buffer and Cairo image surface: row stride and premultiplied-alpha boundary
External pixel buffer to Cairo image surface boundary An external producer allocates memory and wraps it with cairo_image_surface_create_for_data using CAIRO_FORMAT_ARGB32 . The goal is to define the interoperability contract at that boundary without assuming a tight row layout. Cairo may return a stride from cairo_image_surface_get_stride that exceeds width