Class Cairo.ScriptDevice

Inheritance graph
Cairo.Device Cairo.ScriptDevice
Description

Rendering to replayable scripts


Inherit Device

inherit Device : Device


Method create

Cairo.ScriptDevice Cairo.ScriptDevice(string|Stdio.OutputStreamMixin script_file)

Description

Creates a output device for emitting the script, used when creating the individual surfaces.

Parameter script_file

the name (path) of the file, or a Stdio.OutputStreamMixin, to write the script to