[cairo-commit] cairo/src cairo_pdf_surface.c,1.17,1.18

Kristian Hogsberg commit at pdx.freedesktop.org
Mon Mar 7 21:22:44 PST 2005


Committed by: krh

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

Modified Files:
	cairo_pdf_surface.c 
Log Message:
2005-03-08  Kristian Høgsberg  <krh at redhat.com>

        * src/cairo_pdf_surface.c (_cairo_pdf_surface_composite): Return
        CAIRO_STATUS_SUCCESS even if we don't implement masks yet, so we
        don't set cr->status to CAIRO_INT_STATUS_UNSUPPORTED.



Index: cairo_pdf_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_pdf_surface.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- cairo_pdf_surface.c	4 Mar 2005 02:39:06 -0000	1.17
+++ cairo_pdf_surface.c	8 Mar 2005 05:22:42 -0000	1.18
@@ -1328,7 +1328,7 @@
     cairo_surface_pattern_t *src = (cairo_surface_pattern_t *) src_pattern;
 
     if (mask_pattern)
- 	return CAIRO_INT_STATUS_UNSUPPORTED;
+ 	return CAIRO_STATUS_SUCCESS;
     
     if (src_pattern->type != CAIRO_PATTERN_SURFACE)
 	return CAIRO_STATUS_SUCCESS;




More information about the cairo-commit mailing list