Surface.unmapImage

Unmaps the image surface as returned from #cairo.surface.Surface.mapToImage.

The content of the image will be uploaded to the target surface. Afterwards, the image is destroyed.

Using an image surface which wasn't returned by cairo.surface.Surface.mapToImage results in undefined behavior.

class Surface
void
unmapImage

Parameters

image cairo.surface.Surface

the currently mapped image