PSFile.fd


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "21.12.0" ) ]
public PSFile.fd (Document document, int fd, int first_page, int n_pages)

Create a new postscript file to render to.

Note that this function takes ownership of fd; you must not operate on it again, nor close it.

Parameters:

document

a Document

fd

a valid file descriptor open for writing

first_page

the first page to print

n_pages

the number of pages to print

Returns:

a PSFile