imageSurfaceGetWidth

Get the width of the image surface in pixels.

int
imageSurfaceGetWidth

Parameters

surface cairo.surface.Surface

a #cairo_image_surface_t

Return Value

Type: int

the width of the surface in pixels.