From 074f886c00d560daec90f1d6f6212ecf923f4d66 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 19 Jan 2006 17:48:22 +0000 Subject: 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. --- src/cairo-ps.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cairo-ps.h') 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); -- cgit v1.2.3