imageSurfaceGetStride

Get the stride of the image surface in bytes

int
imageSurfaceGetStride

Parameters

surface cairo.surface.Surface

a #cairo_image_surface_t

Return Value

Type: int

the stride of the image surface in bytes (or 0 if 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.