cairo_image_surface_get_stride.Rd
Get the stride of the image surface in bytes
cairo_image_surface_get_stride(surface)
surface | [ |
---|
[int
]
Return value: 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.
Since: 1.2
C function prototype: int cairo_image_surface_get_stride (cairo_surface_t *surface)
Other cairo-image-surface:
cairo_format_stride_for_width()
,
cairo_image_surface_create_for_data()
,
cairo_image_surface_create()
,
cairo_image_surface_get_data()
,
cairo_image_surface_get_format()
,
cairo_image_surface_get_height()
,
cairo_image_surface_get_width()