Package: cairo
Function cairo:ps-surface-create
Lambda Listcairo:ps-surface-create (path width height) ArgumentsReturn ValueThe newly created PostScript cairo:surface-t instance. Details
Creates a PostScript surface of the specified size in points to be written to path. 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. Note that the size of individual pages of the PostScript output can vary. See the cairo:ps-surface-set-size function. | See also |
2025-1-29