Get the format of the surface.

cairo_image_surface_get_format(surface)

Arguments

surface

[cairo_surface_t *] a #cairo_image_surface_t

Value

[int]

Details

Return value: the format of the surface

Since: 1.2

C function prototype: cairo_format_t cairo_image_surface_get_format (cairo_surface_t *surface)

See also