summaryrefslogtreecommitdiff
path: root/test/multi-page.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-01-18 16:40:17 +0000
committerCarl Worth <cworth@cworth.org>2006-01-18 16:40:17 +0000
commitc634e547758aa73d229ed209a8c6e56f06a90d0d (patch)
tree0d02ac1eb2813ec32fcddec1fb9ce8706f3fbaeb /test/multi-page.c
parentba69dfefa793d26805ba2ffb17c67d31f5a99ad1 (diff)
downloadcairo-c634e547758aa73d229ed209a8c6e56f06a90d0d.tar.gz
Change documentation to recommend cairo_paint rather than cairo_rectangle;cairo_fill for clearing a surface.
Add documentation. Add a cairo_content_t argument to PDF surface constructors. Add documentation. Add a cairo_content_t argument to PS surface constructors. Track changes in PS/PDF surface constructor API.
Diffstat (limited to 'test/multi-page.c')
-rw-r--r--test/multi-page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/multi-page.c b/test/multi-page.c
index f6780b493..9e28c3247 100644
--- a/test/multi-page.c
+++ b/test/multi-page.c
@@ -139,7 +139,7 @@ main (void)
#if CAIRO_HAS_PS_SURFACE
filename = "multi-page.ps";
- surface = cairo_ps_surface_create (filename,
+ surface = cairo_ps_surface_create (filename, CAIRO_CONTENT_COLOR,
WIDTH_IN_POINTS, HEIGHT_IN_POINTS);
status = cairo_surface_status (surface);
if (status) {
@@ -158,7 +158,7 @@ main (void)
#if CAIRO_HAS_PDF_SURFACE
filename = "multi-page.pdf";
- surface = cairo_pdf_surface_create (filename,
+ surface = cairo_pdf_surface_create (filename, CAIRO_CONTENT_COLOR,
WIDTH_IN_POINTS, HEIGHT_IN_POINTS);
status = cairo_surface_status (surface);
if (status) {