[cairo-commit] cairo/src cairo-pattern.c, 1.29, 1.30 cairo-surface.c, 1.55, 1.56

Carl Worth commit at pdx.freedesktop.org
Tue Apr 12 07:57:48 PDT 2005


Committed by: cworth

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

Modified Files:
	cairo-pattern.c cairo-surface.c 
Log Message:

        * src/cairo-pattern.c:
        (_cairo_pattern_acquire_surface_for_surface):
        * src/cairo-surface.c: (_cairo_surface_init): Use
        CAIRO_FILTER_BEST by default rather than CAIRO_FILTER_NEAREST.


Index: cairo-pattern.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-pattern.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- cairo-pattern.c	7 Apr 2005 17:01:49 -0000	1.29
+++ cairo-pattern.c	12 Apr 2005 14:57:46 -0000	1.30
@@ -1076,7 +1076,7 @@
 	attr->x_offset = -x;
 	attr->y_offset = -y;
 	attr->extend   = CAIRO_EXTEND_NONE;
-	attr->filter   = CAIRO_FILTER_NEAREST;
+	attr->filter   = CAIRO_FILTER_BEST;
 	
 	cairo_matrix_init_identity (&attr->matrix);
     }

Index: cairo-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-surface.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- cairo-surface.c	8 Apr 2005 20:14:17 -0000	1.55
+++ cairo-surface.c	12 Apr 2005 14:57:46 -0000	1.56
@@ -50,7 +50,7 @@
     _cairo_user_data_array_init (&surface->user_data);
 
     cairo_matrix_init_identity (&surface->matrix);
-    surface->filter = CAIRO_FILTER_NEAREST;
+    surface->filter = CAIRO_FILTER_BEST;
     surface->repeat = 0;
 
     surface->device_x_offset = 0;




More information about the cairo-commit mailing list