summaryrefslogtreecommitdiff
path: root/src/cairo-ps.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-01-19 17:48:22 +0000
committerCarl Worth <cworth@cworth.org>2006-01-19 17:48:22 +0000
commit074f886c00d560daec90f1d6f6212ecf923f4d66 (patch)
treedab9ad37b53c99a449d612daba6a739b69f4a3ec /src/cairo-ps.h
parent14acc7f132fd90d1ba37ddf7ffe9688261cd587b (diff)
Rip the cairo_content_t argument out of ps/pdf_surface_create as per discussion on cairo mailing list. Instead these surface will behave as if CONTENT_COLOR_ALPHA had been passed (that is, compositing operators will behave as if destination alpha were available).
This also has the benefit of preserving the API that has been in place for PS/PDF surface since the (experimental) stuff in 1.0.0. Track API change. Continue testing PS/PDF surfaces in the CAIRO_CONTENT_COLOR mode but do it by rendering to an intermediate similar surface rather than constructing the target surface differently.
Diffstat (limited to 'src/cairo-ps.h')
-rw-r--r--src/cairo-ps.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cairo-ps.h b/src/cairo-ps.h
index b37c9965..0db0c022 100644
--- a/src/cairo-ps.h
+++ b/src/cairo-ps.h
@@ -49,14 +49,12 @@ CAIRO_BEGIN_DECLS
cairo_public cairo_surface_t *
cairo_ps_surface_create (const char *filename,
- cairo_content_t content,
double width_in_points,
double height_in_points);
cairo_public cairo_surface_t *
cairo_ps_surface_create_for_stream (cairo_write_func_t write_func,
void *closure,
- cairo_content_t content,
double width_in_points,
double height_in_points);