summaryrefslogtreecommitdiff
path: root/src/cairo-pdf.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-05-16 11:41:42 +0000
committerKristian Høgsberg <krh@redhat.com>2005-05-16 11:41:42 +0000
commitea410111d38145e7c74558951b1d895ebaf6f8dc (patch)
tree34e2c3475ff5f501068bc440e435748a4fe1b9a6 /src/cairo-pdf.h
parent60b0a05df73cef4a67d111a282b20ce1fd5081e6 (diff)
Take a filename instead of a FILE pointer.
Diffstat (limited to 'src/cairo-pdf.h')
-rw-r--r--src/cairo-pdf.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/cairo-pdf.h b/src/cairo-pdf.h
index 3d622239..050e4aa7 100644
--- a/src/cairo-pdf.h
+++ b/src/cairo-pdf.h
@@ -41,12 +41,10 @@
#if CAIRO_HAS_PDF_SURFACE
-#include <stdio.h>
-
CAIRO_BEGIN_DECLS
cairo_surface_t *
-cairo_pdf_surface_create (FILE *fp,
+cairo_pdf_surface_create (const char *filename,
double width,
double height);
@@ -58,9 +56,9 @@ cairo_pdf_surface_create_for_stream (cairo_write_func_t write_func,
double height);
void
-cairo_pdf_surface_set_ppi (cairo_surface_t *surface,
- double x_ppi,
- double y_ppi);
+cairo_pdf_surface_set_dpi (cairo_surface_t *surface,
+ double x_dpi,
+ double y_dpi);
CAIRO_END_DECLS