powered by
cairoFormatStrideForWidth(format, width)
stride = cairo_format_stride_for_width (format, width); data = malloc (stride * height); surface = cairo_image_surface_create_for_data (data, format, width, height);
Since 1.6