PDF Surfaces

PDF Surfaces — Rendering PDF documents

Synopsis




cairo_surface_t* cairo_pdf_surface_create   (const char *filename,
                                             double width_in_points,
                                             double height_in_points);
cairo_surface_t* cairo_pdf_surface_create_for_stream
                                            (cairo_write_func_t write_func,
                                             void *closure,
                                             double width_in_points,
                                             double height_in_points);
void        cairo_pdf_surface_set_size      (cairo_surface_t *surface,
                                             double width_in_points,
                                             double height_in_points);

Description

Details

cairo_pdf_surface_create ()

cairo_surface_t* cairo_pdf_surface_create   (const char *filename,
                                             double width_in_points,
                                             double height_in_points);

Since 1.2


cairo_pdf_surface_create_for_stream ()

cairo_surface_t* cairo_pdf_surface_create_for_stream
                                            (cairo_write_func_t write_func,
                                             void *closure,
                                             double width_in_points,
                                             double height_in_points);

Since 1.2


cairo_pdf_surface_set_size ()

void        cairo_pdf_surface_set_size      (cairo_surface_t *surface,
                                             double width_in_points,
                                             double height_in_points);

Since 1.2