Method Cairo.Surface()->unmap_image()


Method unmap_image

void unmap_image(Surface image)

Description

Unmaps the image surface as returned from map_to_image().

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 map_to_image() results in undefined behavior.

Parameter image

the currently mapped image