scriptFromRecordingSurface

Converts the record operations in recording_surface into a script.

Parameters

script cairo.device.Device

the script (output device)

recordingSurface cairo.surface.Surface

the recording surface to replay

Return Value

Type: cairo.types.Status

#CAIRO_STATUS_SUCCESS on successful completion or an error code.