Class Cairo.ScriptSurface

Inheritance graph
Cairo.Surface Cairo.ScriptSurface
Description

Rendering to replayable scripts


Inherit Surface

inherit Surface : Surface


Method create

Cairo.ScriptSurface Cairo.ScriptSurface(ScriptDevice script, int content, float|int width, float|int height)

Description

Create a new surface that will emit its rendering through script

Parameter script

the script (output device)

Parameter content

the content of the surface

Parameter width

width in pixels

Parameter height

height in pixels