From bd5bbb6ce2e0f3a9296e3fec017ace10ee8068d3 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Mon, 28 Mar 2005 13:58:26 +0000 Subject: New PNG utility functions. Reverse the naming of the pdf constructors so the callback based ones have the long names. --- src/cairo-pdf.h | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'src/cairo-pdf.h') diff --git a/src/cairo-pdf.h b/src/cairo-pdf.h index 99d53a8c..8c6bcbf8 100644 --- a/src/cairo-pdf.h +++ b/src/cairo-pdf.h @@ -46,38 +46,38 @@ CAIRO_BEGIN_DECLS void -cairo_set_target_pdf (cairo_t *cr, - cairo_write_func_t write_func, - cairo_destroy_func_t destroy_closure_func, - void *closure, - double width_inches, - double height_inches, - double x_pixels_per_inch, - double y_pixels_per_inch); +cairo_set_target_pdf (cairo_t *cr, + FILE *fp, + double width_inches, + double height_inches, + double x_pixels_per_inch, + double y_pixels_per_inch); void -cairo_set_target_pdf_as_file (cairo_t *cr, - FILE *fp, - double width_inches, - double height_inches, - double x_pixels_per_inch, - double y_pixels_per_inch); +cairo_set_target_pdf_for_callback (cairo_t *cr, + cairo_write_func_t write_func, + cairo_destroy_func_t destroy_closure_func, + void *closure, + double width_inches, + double height_inches, + double x_pixels_per_inch, + double y_pixels_per_inch); cairo_surface_t * -cairo_pdf_surface_create (cairo_write_func_t write_func, - cairo_destroy_func_t destroy_closure_func, - void *closure, - double width_inches, - double height_inches, - double x_pixels_per_inch, - double y_pixels_per_inch); +cairo_pdf_surface_create (FILE *fp, + double width_inches, + double height_inches, + double x_pixels_per_inch, + double y_pixels_per_inch); cairo_surface_t * -cairo_pdf_surface_create_for_file (FILE *fp, - double width_inches, - double height_inches, - double x_pixels_per_inch, - double y_pixels_per_inch); +cairo_pdf_surface_create_for_callback (cairo_write_func_t write_func, + cairo_destroy_func_t destroy_closure_func, + void *closure, + double width_inches, + double height_inches, + double x_pixels_per_inch, + double y_pixels_per_inch); CAIRO_END_DECLS -- cgit v1.2.3