Get the width of the image surface in pixels.

cairo_image_surface_get_width(surface)

Arguments

surface

[cairo_surface_t *] a #cairo_image_surface_t

Value

[int]

Details

Return value: the width of the surface in pixels.

Since: 1.0

C function prototype: int cairo_image_surface_get_width (cairo_surface_t *surface)

See also