Cairo.capture function

Capture contents of an image backend or a display list snapshot.