imageSurfaceGetWidth

fnint imageSurfaceGetWidth(cairo.surface.Surface surface)

Get the width of the image surface in pixels.

Parameters

surfacea #cairo_image_surface_t

Returns

the width of the surface in pixels.