Script.fromRecordingSurface

Converts the record operations in recording_surface into a script. Since 1.12

class Script
fromRecordingSurface

Parameters

recordingSurface RecordingSurface

the recording surface to replay

Return Value

CAIRO_STATUS_SUCCESS on successful completion or an error code.