Package: cairo
Function cairo:pdf-surface-create
Lambda Listcairo:pdf-surface-create (path width height) ArgumentsReturn Value The newly created cairo:surface-t instance. 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. Details
Creates a PDF surface of the specified size in points to be written to filename. | See also |
2025-1-13