diff options
author | Carl Worth <cworth@cworth.org> | 2003-10-31 21:30:35 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2003-10-31 21:30:35 +0000 |
commit | c6255f9c295dc2b273b8aa4c5ce558d6d2a05887 (patch) | |
tree | d416e4cbe2ea52da4377ca0e1a1466a6edd99a33 /src/cairo-surface.c | |
parent | 9736375a7a106b9fd6745dcea26572a63f1334f5 (diff) |
Implemented preliminary PostScript output support. Added cairo_show_page. Bumped version number to 0.1.10
Diffstat (limited to 'src/cairo-surface.c')
-rw-r--r-- | src/cairo-surface.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 41baabec..0e847eae 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -334,3 +334,18 @@ _cairo_surface_composite_trapezoids (cairo_operator_t operator, return status; } +cairo_status_t +_cairo_surface_show_page (cairo_surface_t *surface) +{ + cairo_int_status_t status; + + status = surface->backend->show_page (surface); + /* It's fine if some backends just don't support this. */ + if (status == CAIRO_INT_STATUS_UNSUPPORTED) + return CAIRO_STATUS_SUCCESS; + if (status) + return status; + + return CAIRO_STATUS_SUCCESS; +} + |