Package: cairo
Function cairo:script-surface-create
Lambda Listcairo:script-surface-create (script content width height) ArgumentsReturn ValueThe newly created cairo:surface-t instance. Details Creates a new surface that will emit its rendering through script. The caller owns the surface and should call the cairo:surface-destroy
function when done with it. This function always returns a valid pointer, but
it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use the cairo:surface-status function to check
for this. | See also |
2025-1-29