[cairo-commit] cairo/src Makefile.am, 1.73, 1.74 cairo-paginated-surface-private.h, NONE, 1.1 cairo-paginated-surface.c, NONE, 1.1 test-paginated-surface.c, NONE, 1.1 test-paginated-surface.h, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Wed Dec 21 16:46:47 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv22836/src

Modified Files:
	Makefile.am 
Added Files:
	cairo-paginated-surface-private.h cairo-paginated-surface.c 
	test-paginated-surface.c test-paginated-surface.h 
Log Message:

2005-12-21  Carl Worth  <cworth at cworth.org>

        * src/Makefile.am:
        * src/cairo-paginated-surface-private.h:
        * src/cairo-paginated-surface.c: (_cairo_paginated_surface_create),
        (_cairo_paginated_surface_create_similar),
        (_cairo_paginated_surface_finish),
        (_cairo_paginated_surface_acquire_source_image),
        (_cairo_paginated_surface_release_source_image),
        (_cairo_paginated_surface_show_page),
        (_cairo_paginated_surface_intersect_clip_path),
        (_cairo_paginated_surface_get_extents),
        (_cairo_paginated_surface_paint), (_cairo_paginated_surface_mask),
        (_cairo_paginated_surface_stroke), (_cairo_paginated_surface_fill),
        (_cairo_paginated_surface_show_glyphs),
        (_cairo_paginated_surface_snapshot): Add a private
        cairo_paginated_surface_t which builds on top of the meta surface
        and is intended to provide an easy interface with common
        functionality for the various paginated surface types (ps, pdf,
        etc.).

        * src/test-paginated-surface.c:
        (_test_paginated_surface_create_for_data):
        * src/test-paginated-surface.h:
        * test/cairo-test.c: (create_test_paginated_surface),
        (test_paginated_write_to_png), (cleanup_test_paginated),
        (cairo_test_expecting): Add test_paginated_surface_t which is
        another test surface enabled with --enable-test-surfaces. The
        test_meta_surface code served as the basis for
        cairo_paginated_surface_t so that test surface may be entirely
        superfluous now.


Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/src/Makefile.am,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- Makefile.am	20 Dec 2005 06:45:42 -0000	1.73
+++ Makefile.am	22 Dec 2005 00:46:44 -0000	1.74
@@ -22,7 +22,8 @@
 
 if CAIRO_HAS_TEST_SURFACES
 libcairo_test_sources = test-fallback-surface.c test-fallback-surface.h \
-			test-meta-surface.c test-meta-surface.h
+			test-meta-surface.c test-meta-surface.h		\
+			test-paginated-surface.c test-paginated-surface.h
 endif
 
 if CAIRO_HAS_XLIB_SURFACE
@@ -164,6 +165,8 @@
 	cairo-wideint.h				\
 	cairo-meta-surface.c			\
 	cairo-meta-surface-private.h		\
+	cairo-paginated-surface.c		\
+	cairo-paginated-surface-private.h	\
 	$(libcairo_atsui_sources)		\
 	$(libcairo_ft_sources)			\
 	$(libcairo_ps_sources)			\

--- NEW FILE: cairo-paginated-surface-private.h ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: cairo-paginated-surface.c ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: test-paginated-surface.c ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: test-paginated-surface.h ---
(This appears to be a binary file; contents omitted.)



More information about the cairo-commit mailing list