summaryrefslogtreecommitdiff
path: root/src/cairo-pdf.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-03-28 13:58:26 +0000
committerKristian Høgsberg <krh@redhat.com>2005-03-28 13:58:26 +0000
commitbd5bbb6ce2e0f3a9296e3fec017ace10ee8068d3 (patch)
tree1c18c003598c132f2cb9c96d39cdf91ed8819c8d /src/cairo-pdf.h
parent33d2ec2eb8b97e51fc3e24fdfa97ee7b89e734a1 (diff)
downloadcairo-bd5bbb6ce2e0f3a9296e3fec017ace10ee8068d3.tar.gz
New PNG utility functions.
Reverse the naming of the pdf constructors so the callback based ones have the long names.
Diffstat (limited to 'src/cairo-pdf.h')
-rw-r--r--src/cairo-pdf.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/cairo-pdf.h b/src/cairo-pdf.h
index 99d53a8cd..8c6bcbf88 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