Class Cairo.PDFSurface
- Description
 Rendering PDF documents
- Inherit
Surface
 inherit Surface : Surface
- Method
create
 Cairo.PDFSurface Cairo.PDFSurface(string|Stdio.OutputStreamMixin|zeropdf_file,float|intwidth_in_points,float|intheight_in_points)- Description
 Creates a PDF surface of the specified size in points to be written to pdf_file.
- Parameter 
pdf_file a filename for the PDF output (must be writable), or a Stdio.OutputStreamMixin to write the output to.
0may be used to specify no output. This will generate a PDF surface that may be queried and used as a source, without generating a temporary file.- Parameter 
width_in_points width of the surface, in points (1 point == 1/72.0 inch)
- Parameter 
height_in_points height of the surface, in points (1 point == 1/72.0 inch)