scriptFromRecordingSurface

fncairo.types.Status scriptFromRecordingSurface(cairo.device.Device script, cairo.surface.Surface recordingSurface)

Converts the record operations in recording_surface into a script.

Parameters

scriptthe script (output device)
recordingSurfacethe recording surface to replay

Returns

#CAIRO_STATUS_SUCCESS on successful completion or an error code.