[cairo-commit]
cairo/test pdf-surface.c, 1.9, 1.10 ps-surface.c, 1.2, 1.3
Kristian Høgsberg
commit at pdx.freedesktop.org
Mon Oct 10 09:36:41 PDT 2005
Committed by: krh
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv11614/test
Modified Files:
pdf-surface.c ps-surface.c
Log Message:
2005-10-10 Kristian Høgsberg <krh at redhat.com>
* src/cairo-gstate.c (_cairo_gstate_fill): Transform source
pattern for _cairo_surface_fill_path() also (#4673).
* test/ps-surface.c, test/pdf-surface.c (draw): Use
cairo_fill_preserve() instead of cairo_save()/cairo_restore().
* src/cairo-pdf-surface.c (emit_surface_pattern): Add missing
return values.
Index: pdf-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/test/pdf-surface.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pdf-surface.c 17 May 2005 12:58:02 -0000 1.9
+++ pdf-surface.c 10 Oct 2005 16:36:39 -0000 1.10
@@ -56,11 +56,7 @@
/* Fill face */
cairo_arc (cr, 0.5, 0.5, 0.5 - STROKE_WIDTH, 0, 2 * M_PI);
cairo_set_source_rgb (cr, 1, 1, 0);
- cairo_save (cr);
- {
- cairo_fill (cr);
- }
- cairo_restore (cr);
+ cairo_fill_preserve (cr);
cairo_set_source_rgb (cr, 0, 0, 0);
Index: ps-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/test/ps-surface.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ps-surface.c 17 May 2005 12:58:02 -0000 1.2
+++ ps-surface.c 10 Oct 2005 16:36:39 -0000 1.3
@@ -56,11 +56,7 @@
/* Fill face */
cairo_arc (cr, 0.5, 0.5, 0.5 - STROKE_WIDTH, 0, 2 * M_PI);
cairo_set_source_rgb (cr, 1, 1, 0);
- cairo_save (cr);
- {
- cairo_fill (cr);
- }
- cairo_restore (cr);
+ cairo_fill_preserve (cr);
cairo_set_source_rgb (cr, 0, 0, 0);
More information about the cairo-commit
mailing list