imageSurfaceGetFormat

fncairo.types.Format imageSurfaceGetFormat(cairo.surface.Surface surface)

Get the format of the surface.

Parameters

surfacea #cairo_image_surface_t

Returns

the format of the surface