diff options
author | Carl Worth <cworth@cworth.org> | 2006-04-14 14:46:59 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-04-14 14:46:59 -0700 |
commit | 8d3a800b82ccd4a39bf04cc1d602eb84d90f81d1 (patch) | |
tree | 9bf933a6884ed97d496d12d7ab2b19b17f4161d5 /src/test-paginated-surface.c | |
parent | 687802cca67ce4157725316d769fc28bc75f5dcd (diff) | |
download | cairo-8d3a800b82ccd4a39bf04cc1d602eb84d90f81d1.tar.gz |
Add a start_page function to the paginated_surface_backend.
This allows for any surface using the paginated_surface backend to
easily do stuff at the beginning of each page, (such as writing out
any per-page header necessary).
This replaces some of the per-page state tracking that the PS surface
was doing, (though it still has some left for its optimization of
CLEAR on a blank page).
Diffstat (limited to 'src/test-paginated-surface.c')
-rw-r--r-- | src/test-paginated-surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test-paginated-surface.c b/src/test-paginated-surface.c index 6190432bd..e4eb58a2d 100644 --- a/src/test-paginated-surface.c +++ b/src/test-paginated-surface.c @@ -279,5 +279,6 @@ static const cairo_surface_backend_t test_paginated_surface_backend = { }; static const cairo_paginated_surface_backend_t test_paginated_surface_paginated_backend = { + NULL, /* start_page */ _test_paginated_surface_set_paginated_mode }; |