cairo_image_surface_get_stride: cairo_image_surface_get_stride

Description Usage Arguments Details Value See Also

View source: R/cairo-image-surface.R

Description

Get the stride of the image surface in bytes

Usage

1

Arguments

surface

[cairo_surface_t *] a #cairo_image_surface_t

Details

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)

Value

[int]

See Also

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()


coolbutuseless/cairocore documentation built on Aug. 31, 2020, 12:43 a.m.