surface is not an image surface). The stride is the distance in bytes from the beginning of one row of the image data to the beginning of the next row.
imageSurfaceGetStride
fn
int imageSurfaceGetStride(cairo.surface.Surface surface)Get the stride of the image surface in bytes
Parameters
surface | a #cairo_image_surface_t |
Returns
the stride of the image surface in bytes (or 0 if