This function provides a stride value that will respect all alignment requirements of the accelerated image-rendering code Since 1.6
A cairo_format_t value
The desired width of an image surface to be created.
the appropriate stride to use given the desired format and width, or -1 if either the format is invalid or the width too large.
This function provides a stride value that will respect all alignment requirements of the accelerated image-rendering code Since 1.6