summaryrefslogtreecommitdiff
path: root/src/cairo-ps.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-05-02 12:36:23 -0700
committerCarl Worth <cworth@cworth.org>2006-05-02 12:36:35 -0700
commit8488aaee1a8f25d3cc9bf2af986b32710cea91f0 (patch)
treee6ce492f71c48b79c80d766dd63cdfa2207705e9 /src/cairo-ps.h
parente59f35291fa5f97acfe408b7bce8652ec20566c8 (diff)
downloadcairo-8488aaee1a8f25d3cc9bf2af986b32710cea91f0.tar.gz
PS: Add cairo_ps_surface_set_size along with ps-features test
Add a new cairo_ps_surface_set_size which can be used to produce a PostScript file consisting of pages of various different sizes (or orientations). Also add a new test (ps-features.c) for testing this and subsequent ps-specific function calls.
Diffstat (limited to 'src/cairo-ps.h')
-rw-r--r--src/cairo-ps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-ps.h b/src/cairo-ps.h
index 0db0c0220..75c624e69 100644
--- a/src/cairo-ps.h
+++ b/src/cairo-ps.h
@@ -59,6 +59,11 @@ cairo_ps_surface_create_for_stream (cairo_write_func_t write_func,
double height_in_points);
cairo_public void
+cairo_ps_surface_set_size (cairo_surface_t *abstract_surface,
+ double width_in_points,
+ double height_in_points);
+
+cairo_public void
cairo_ps_surface_set_dpi (cairo_surface_t *surface,
double x_dpi,
double y_dpi);