Method Cairo.ScriptSurface()->create()
- Method
create
Cairo.ScriptSurface Cairo.ScriptSurface(ScriptDevicescript,intcontent,float|intwidth,float|intheight)- 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
- Method
create
Cairo.ScriptSurface Cairo.ScriptSurface(ScriptDevicescript,Surfacetarget)- Description
Create a pxoy surface that will render to target and record the operations to device.
- Parameter
script the script (output device)
- Parameter
target a target surface to wrap