[cairo-commit] 2 commits - src/cairo-paginated-surface.c TODO
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Mar 1 10:51:46 PST 2007
TODO | 5 +++--
src/cairo-paginated-surface.c | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
diff-tree 17f6174bb2b877447e524715792c7adc84fb25e4 (from c9ddb86e67154624f08a30599ba6f8d77f731b3a)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Mar 1 13:50:23 2007 -0500
[TODO] Add cairo_surface_copy_page()
diff --git a/TODO b/TODO
index 4d3de7c..db23626 100644
--- a/TODO
+++ b/TODO
@@ -73,9 +73,10 @@ Other changes (this text used to be in R
http://lists.freedesktop.org/archives/cairo/2007-January/009372.html
cairo_font_metrics_t
http://lists.freedesktop.org/archives/cairo/2007-January/009373.html
- cairo_surface_show_page()
+ cairo_surface_show_page() and cairo_surface_copy_page()
show_page is a surface operation and should have been there instead of
- cairo_show_page() from the beginning. Implement the right API now.
+ cairo_show_page() from the beginning. Same about copy_page().
+ Implement the right API now.
User-font API---a couple of threads of interest:
http://lists.freedesktop.org/archives/cairo/2007-February/009539.html
http://lists.freedesktop.org/archives/cairo/2006-May/006893.html
diff-tree c9ddb86e67154624f08a30599ba6f8d77f731b3a (from dc0043383b24425282ce38ba06422991c37c1d7e)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Mar 1 13:49:13 2007 -0500
[paginated] Also increase page number in copy_page
diff --git a/src/cairo-paginated-surface.c b/src/cairo-paginated-surface.c
index 419eb5b..c8e4612 100644
--- a/src/cairo-paginated-surface.c
+++ b/src/cairo-paginated-surface.c
@@ -300,6 +300,8 @@ _cairo_paginated_surface_copy_page (void
_paint_page (surface);
+ surface->page_num++;
+
/* XXX: It might make sense to add some suport here for calling
* _cairo_surface_copy_page on the target surface. It would be an
* optimization for the output, (so that PostScript could include
More information about the cairo-commit
mailing list